Apache 500 Error with PHP Fun -
So I'm running a PHP script on my godaddy (do not hate me) virtual servers that take me around Hopefully the 5-minute script keeps the pages rotating to finish the execution, but does not contain more than 1 page at a time (this is done in a loop, the same variable is reused) I have my php5 The ini file has been modified in the following:
max_execution_time = 600 max_input_time = 1 20 memory_limit = 64M I have verified through phpinfo that the changes in the ini file were taken effect, although I am getting Apache 500 error after 120 seconds error for this time Logged:
[Wed Jul 11 22:08:52 2012] [Warning] [customer **. ** **. **. ***] mod_fcgid: Read Data Timeout in 120 Seconds [Wed Jul 11 22:08:52 2012] [Error] [Customer **. **. **. ***] Premature end of script header test.php If anyone has any idea why I am getting these errors or any suggestions on things to try So I appreciate the help. I have not noticed any option in the php settings set to 120, but I'm not sure that it will have the effect: realpath_cache_tt
I have also set a time limit in the .php file: set_time_limit (600) ;
Thanks in advance.
Update: Here's what I tried in the .htaccess file: Reviving OnReightCand% {HTTP_HOST}! ^ Www. Rewrite ^ (. *) $ Http: //www.% {HTTP_HOST} / $ 1 [R = 301, L] & lt; IfModule mod_fcgid.c & gt; IPCC Timetable 7200 & lt; / IfModule & gt; Apache 500 error on any page load reason I have also disabled the FastCGI but this issue is still decreasing. Resoluted Rob gave the following suggestions: IPCC timetable 7200 The time to find a new hosting service
I'm not sure about dealing with this problem on GoDaddy, but the general resolution would be as follows:
The problem you are facing is due to the execution of a php script for FCSIGI, but it does not generate a response within the default IO timeout (120 seconds), resulting in 500 internal server error
Try editing the default VirtualHost conf file, which is usually located on the / etc / apache2 / site-available / default and this command is & lt ; VirtualHost & gt; Reference: After saving the revision, restart Apache2 with this command: sudo /etc/init.d/apache2 restart . 'GoDaddy has been able to determine that the maximum time limit for PDP / FastCGI is in hosting for 120 seconds, which can not be extended by the client. I suggest contacting their support for support and hope that their reputation will not be fulfilled and you will be able to get help. Not sure if this will help but you can try switching from the FastCGI to PHP5 in the Hosting Control Center (Settings & gt; File Extension & gt; php5). .
Comments
Post a Comment