Azurel
Silver Pleskian
Hello,
I have a project thats need php time with 3min or more. Its make a urgent calculation and is a cronjob script. In my old server I have set this
On the new Server with plesk 11.5 I get a "Internal Server Error" and in error_log I find
I try
How I can set more time for my php script?
I set this in PHP, because I need it only in this one urgent script.
I found a solution, so I think:
I have a project thats need php time with 3min or more. Its make a urgent calculation and is a cronjob script. In my old server I have set this
and all working fine.set_time_limit(9999);
On the new Server with plesk 11.5 I get a "Internal Server Error" and in error_log I find
mod_fcgid: read data timeout in 45 seconds
Premature end of script headers: index.php
I try
But thats not help.ini_set('max_execution_time',9999);
How I can set more time for my php script?
I set this in PHP, because I need it only in this one urgent script.
I found a solution, so I think:
Source: http://www.daveismyname.com/development/fixing-mod_fcgid-read-data-timeout/ini_set('memory_limit', '256M');
Last edited: