Jump to content


Photo

How do I keep php from timing out after the default 60 seconds?


  • Please log in to reply
1 reply to this topic

#1 bobleny

bobleny
  • Members
  • PipPipPip
  • Advanced Member
  • 429 posts

Posted 10 July 2006 - 06:38 PM

How do I keep php from timing out after the default 60 seconds while running a long php script?
-- www.firemelt.net --
First do me a favor and read this: JavaScript is NOT Java - Then read this: www.php.net - When your done with that, read this Topic
After that, floors open. I and anyone else will be MORE than happy to answer YOUR query! [Topic Solved]
Cheer up, the worst has yet to come...

#2 willfitch

willfitch
  • Members
  • PipPipPip
  • Advanced Member
  • 109 posts
  • LocationNew Hope, PA

Posted 10 July 2006 - 06:41 PM

PHP.ini
max_execution_time=0

This will allow unlimited execution time.  If you have permissions, you can also add set_time_limit(0) to allow unlimited time.
Zend Certified Engineer (ZEND001989)
www.willfitch.com




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users