Thursday, 3 May 2012

Increase PHP script execution time with ini_set()

To change (usually increase for processing or uploading large files) the PHP script execution time with ini_set() use the following:

ini_set('max_execution_time', 120); // 120 seconds / 2 minutes