ShivaGupta Posted August 11, 2013 Share Posted August 11, 2013 Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\u\sign.php on line 138 i have this error at my xmpp windos . i tryed set_time_limit(0); but no luck. $next = "can u help me out plz" ; Link to comment https://forums.phpfreaks.com/topic/281057-fatal-error-maximum-execution-time-of-30-seconds-exceeded-in-cxampphtdocsusignphp-on-line-138/ Share on other sites More sharing options...
darkfreaks Posted August 11, 2013 Share Posted August 11, 2013 you need to go into your Apache server php.ini and change max_execution_time from the default 20 seconds to 600 seconds which i think is ten minutes. reboot your server and this should fix this error. if you do not have access to Apache server php.ini through web hosting. you can try ini_set('max_execution time', 600); Link to comment https://forums.phpfreaks.com/topic/281057-fatal-error-maximum-execution-time-of-30-seconds-exceeded-in-cxampphtdocsusignphp-on-line-138/#findComment-1444444 Share on other sites More sharing options...
Psycho Posted August 11, 2013 Share Posted August 11, 2013 A better question may be what is taking so long that the server is timing out? Are you sure there isn't an inefficiency in your code that could possibly resolve this if fixed? I sure hope you aren't running queries in loops. Link to comment https://forums.phpfreaks.com/topic/281057-fatal-error-maximum-execution-time-of-30-seconds-exceeded-in-cxampphtdocsusignphp-on-line-138/#findComment-1444448 Share on other sites More sharing options...
Barrikor Posted August 12, 2013 Share Posted August 12, 2013 i tryed set_time_limit(0); but no luck. Are you running PHP in safe mode? Link to comment https://forums.phpfreaks.com/topic/281057-fatal-error-maximum-execution-time-of-30-seconds-exceeded-in-cxampphtdocsusignphp-on-line-138/#findComment-1444461 Share on other sites More sharing options...
ShivaGupta Posted August 12, 2013 Author Share Posted August 12, 2013 thank you so much to all. Link to comment https://forums.phpfreaks.com/topic/281057-fatal-error-maximum-execution-time-of-30-seconds-exceeded-in-cxampphtdocsusignphp-on-line-138/#findComment-1444520 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.