Oct 082010
Set the maximum execution time in PHP
Answer:
The default maximum execution time in PHP is 30 seconds. If you want to change it, you need to edit the php.ini
vi /etc/php.ini
Locate and set
max_execution_time = 120;
Try it with the number you need.
Also, remember to restart web server such as Apache if needed.