Hi ! I'm using a debian 7 + ispconfig 3.0.5. using mod_fcgid I'd like to specify, a max_execution_time in each Vhost configuration file, how can I do please ? I'd try to add : php_value max_execution_time 300 in Vhost configuration file but won't work. The parameter in PHP.INI override my modification in vhost configuration file. thank you for your help
The syntax: php_value max_execution_time 300 is for mod_php only. To set this for php_fcgi, just enter: max_execution_time = 300 in the custom php.ini field of the website.
Hi I have follow your recommandation : And then I have restart apache2, but the probleme still the same :-/ when I do a phpinfo, the configuration of the 'master' PHP.INI is keeping, any idea ?
First, do not restart apache, its not required. Just wait 60 seconds until the configuration file has been written. You can see that in the jobqueue of the monitor, if the jobqueue is empty, then all changes have been written to disk.
thank you. is it a good idea to : grep FCGI /etc/apache2/sites-available/mywebsite.fr.vhost and modify the wrapper, to add -d max_execution_time 300 ?
No, for 2 reasons: 1) Its not nescessary. 2) Your manual changes will get removed automatically anyway. Check with phpinfo() output which php.ini is used by the scriptsin that site.
it work fine, because of you. Thank you till ! By the way, did you have any recommandations (for security) in the php.ini parameters, for hosting some small Wordpress Website ? thank you