Set PHP Max Execution Time

The default max execution time defined in php.ini is 30 seconds. It is possible that you want to alter this max execution time at run time. To do this, insert the below code in your php file.
set_time_limit ( int $seconds )
The number of seconds specified will be in addition to the time already used to execute the php script (the execution timer gets reset to zero when set_time_limit is called).