My PHP program is taking long time to run it is giving following error:
Maximum execution time of 30 seconds exceeded in php file
How to resolve this issue?
You two options a) Increase the execution time temporarily in the .php file using following code:
ini_set('max_execution_time', 600); //600 seconds = 10 minutes
b) Update the php.ini file to include the following lines:
max_execution_time = 360;