Jump to content

Recommended Posts

Is there any way to prevent mysql from timing out after 60 seconds without a connection? I am having trouble with php pages taking a long time loading on my web host. I called them, but they said it was a temporary overload on my domain. The thing is, temporary doesn't seem temporary; it seems like a lot longer then that.

 

So does any one know a way to display database content with mysql after 60 seconds with no connection? I'm sure the answer probably is "no", but I figure it would not hurt to ask.

Hi,

 

I'm sorry, not sure what you mean? Do you have to wait 60 seconds for the page to load or do your php scripts take 60 seconds or longer to execute?

 

I'm sure you are aware that 60 seconds on the internet is a holiday.... a long one! So that's a really long wait. Otherwise, you might want to increase the server's time limit on script execution using ini_set:

 

Check out the related stuff here: http://uk2.php.net/set_time_limit

 

Hope it helps!

Regards,

Iceman

 

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.