Wednesday, September 18, 2013

Increase PHP Script Execution Time

Increase PHP Script Execution Time Limit Using ini_set()


If you have a HUGE php file. sometimes  script from timing out, you need to increase the execution time of the specific processing script. Here's how I do it.

The PHP

ini_set('max_execution_time', 300); //300 seconds = 5 minutes
Place this at the top of your PHP script .

For more freelance projects and jobs visit www.vkender.com 
more than 150000  php projects and 5000 php freelancer available here

No comments:

Post a Comment