Hello,
I have a big problem with the new plesk 12.5, i updated 10 servers from 12.0.18 to 12.5 yesterday and now all of my domains have "Performance settings" lines in their httpd.conf :
The big problem is the two lines php_admin_value max_execution_time 60 and php_admin_value max_input_time 60, the scripts that use ini_set("max_execution_time", 120) won't change the max execution time because of the "php_admin_value" in the conf.
I can't use a unique max_execution_time for my projects, I have some long script to update big database, so using the plesk interface to specify a per domain max_execution_time is not an option for me as it would set a long max_execution_time on each script of the website, and it's not good.
Why plesk is not using php_value instead of php_admin_value ? Is there a way to prevent plesk from adding thes two lines in each vhost ? I really don't understand why you call these two lines "Performance settings", it's a big regression and cause a lot of trouble on every server I own... By the way I don't understand why you want to put these two lines beacause in the global php.ini, the max_execution_time and max_input_time are already set to 60. For the memory_limit there is not a line, because in plesk and in php.ini it's set to 128M, why you don't do the same for these 2 parameters ?
Thank you for your help.
Regards
I have a big problem with the new plesk 12.5, i updated 10 servers from 12.0.18 to 12.5 yesterday and now all of my domains have "Performance settings" lines in their httpd.conf :
Code:
<IfModule sapi_apache2.c>
php_admin_flag engine on
# General settings
php_admin_value open_basedir "/var/www/vhosts/domain.com/:/tmp/"
# Performance settings
php_admin_value max_execution_time 60
php_admin_value max_input_time 60
# Additional directives
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine on
# General settings
php_admin_value open_basedir "/var/www/vhosts/domain.com/:/tmp/"
# Performance settings
php_admin_value max_execution_time 60
php_admin_value max_input_time 60
# Additional directives
</IfModule>
The big problem is the two lines php_admin_value max_execution_time 60 and php_admin_value max_input_time 60, the scripts that use ini_set("max_execution_time", 120) won't change the max execution time because of the "php_admin_value" in the conf.
I can't use a unique max_execution_time for my projects, I have some long script to update big database, so using the plesk interface to specify a per domain max_execution_time is not an option for me as it would set a long max_execution_time on each script of the website, and it's not good.
Why plesk is not using php_value instead of php_admin_value ? Is there a way to prevent plesk from adding thes two lines in each vhost ? I really don't understand why you call these two lines "Performance settings", it's a big regression and cause a lot of trouble on every server I own... By the way I don't understand why you want to put these two lines beacause in the global php.ini, the max_execution_time and max_input_time are already set to 60. For the memory_limit there is not a line, because in plesk and in php.ini it's set to 128M, why you don't do the same for these 2 parameters ?
Thank you for your help.
Regards
Last edited: