Jump to content

Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\u\sign.php on line 138


Recommended Posts

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" ;

 

 

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);

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.