ich benötige die Option register_long_arrays=On in der php.ini. Habe zuerst mit phpinfo() geschaut welche php.ini für meine mod_php Installation zuständig ist. Habe dann dort die Zeile:
for file in `find /path/to/webapp/ -type f -name *.php`; do
sed 's/(^[[:space:]]*global[[:space:]].*)[,][[:space:]]*$HTTP_[A-Z][A-Z]*_(VARS|FILES)/1/g' -i ${file} &&
sed 's/(^[[:space:]]*global[[:space:]].*)$HTTP_[A-Z][A-Z]*_(VARS|FILES)([,][[:space:]]*)*/1/g' -i ${file} &&
sed 's/(^[[:space:]]*global[[:space:]].*)[,][[:space:]]*[;]$/1;/g' -i ${file} &&
sed '/^[[:space:]]*global[[:space:]]([[:space:]]*[,]*)*[;]$/d' -i ${file} &&
sed 's/HTTP(_[A-Z][A-Z]*)_VARS/1/g' -i ${file} &&
sed 's/HTTP_[A-Z][A-Z]*_FILES/_FILES/g' -i ${file};
done
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
kannst Du das bitte mal genauer ausführen? Ich denke ich kann das normal über die php.ini global definieren? So steht es zumindest in der Dokumentation.
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir "/var/www/vhosts/domain.de/httpdocs:/tmp"
php_admin_value register_long_arrays "On"
</IfModule>
Die Frage ist nur wann plättet mir Plesk die Datei über? In der Knowledge Base habe ich folgendes gefunden dazu: http://kb.swsoft.com/article_51_208_en.html
leider ist nach der Ausführung des Kommandos meine Änderung direkt über den Haufen gefahren.
Hat jemand eine Idee?
Pack die Änderungen in /var/www/vhosts/example.com/conf/vhost.conf und führe danach `/usr/local/psa/admin/sbin/websrvmng -a -v` aus. Das wird übrigens auch in dem von dir verlinkten KB-Artikel so beschrieben...