aloofpanda Posted September 26, 2008 Share Posted September 26, 2008 I set the max_execution_time, increased max_memory and looked at other settings as well such as file upload and etc. I never had this problem before with other servers. I cannot seem to figure out why my scripts just stop randomly and random times. I am running a large database administration script that I wrote. Please help. I cannot figure it out. Thank you. Link to comment https://forums.phpfreaks.com/topic/125905-php-scripts-timeout/ Share on other sites More sharing options...
PFMaBiSmAd Posted September 26, 2008 Share Posted September 26, 2008 Make sure the settings are actually what you think they are using a phpinfo(); statement, set error_reporting to E_ALL (check using a phpinfo(); statement to make sure what it is), and check your web server error log file for any resulting errors. Link to comment https://forums.phpfreaks.com/topic/125905-php-scripts-timeout/#findComment-651105 Share on other sites More sharing options...
aloofpanda Posted September 26, 2008 Author Share Posted September 26, 2008 I checked my error_logs and found an error message saying the MAXREDIRECT has reached its limit. I changed this number in .htaccess and nothing happened. For some odd reason, after a couple of days the script is working now. Link to comment https://forums.phpfreaks.com/topic/125905-php-scripts-timeout/#findComment-651488 Share on other sites More sharing options...
corbin Posted September 26, 2008 Share Posted September 26, 2008 Sounds to me like a mod_rewrite issue, not a PHP script. I guess a PHP script could be infinitely redirecting though. Link to comment https://forums.phpfreaks.com/topic/125905-php-scripts-timeout/#findComment-651514 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.