Jump to content


Photo

30-Second Time-Out


This topic has been archived. This means that you cannot reply to this topic.
5 replies to this topic

#1 Spycat

Spycat
  • Members
  • Pip
  • Newbie
  • 5 posts

Posted 21 September 2005 - 03:43 AM

Why does a posting attempt time out after 30 seconds?
Sometimes it takes me 25++ attempts to get the post to go through.
Some of us are still on 56k :`(

Thanks

#2 marker5a

marker5a
  • Members
  • PipPipPip
  • Advanced Member
  • 30 posts

Posted 21 September 2005 - 04:00 AM

Yea, its a setting in your php.ini file. Make sure you are editing the correct ini file, run a phpinfo(); and see where the file is. Open it up, and change the max_execution_time variable from 30 to 60. Save the ini file, and restart the server

Chris

#3 effigy

effigy
  • Staff Alumni
  • Advanced Member
  • 3,600 posts

Posted 21 September 2005 - 04:37 AM

try using the lofi version.
Regexp | Unicode Article | Letter Database
/\A(e)?((1)?ff(?:(?:ig)?y)?|f(?:ig)?)\z/

#4 txmedic03

txmedic03
  • Members
  • PipPipPip
  • Advanced Member
  • 313 posts

Posted 30 March 2006 - 08:13 AM

Two problems marker5a.

1) I believe that Spycat was refering to the forums here, not on a personal server so they can't change the php.ini file.

2) You should try to eliminate as much load time as possible. If you just keep cranking up your execution time out you could have an excessive load time that your users will not hang around for. 30 seconds should be more than enough. If your script executes longer than 30 seconds I strongly recommend you rethink your code.

SEMPER FIDELIS!

I can't stop you from doing something silly, but at least I can help you do it right.


#5 interaxis

interaxis
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 15 May 2006 - 07:41 PM

[a href=\"http://dynamicreport.com/1000.html\" target=\"_blank\"]http://dynamicreport.com/1000.html[/a]

There is a simple article there on an automated work-around to batch processes using javascript so that you can break-down your looooong database operations, etc.


#6 ober

ober
  • Staff Alumni
  • Advanced Member
  • 5,337 posts

Posted 15 May 2006 - 07:55 PM

Thanks for making your first response on the forums as a bump to a thread that's nearly a month and a half old!

Thread closed!

Info: PHP Manual