Jump to content

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


Go to solution Solved by darkfreaks,

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

 

 

  • Solution

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.