DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Allow Php Script To Run For A Long Time

05.11.2005
| 5560 views |
  • submit to reddit
        
set_time_limit(0)
Pretty useful when dumping data.    

Comments

Snippets Manager replied on Mon, 2012/05/07 - 2:12pm

Quoth the manual: set_time_limit() has no effect when PHP is running in safe mode. There is no workaround other than turning off safe mode or changing the time limit in the php.ini.