PHP – change max execution time

First, you need to find out what max_execution_time is set on your PHP installation:
Locate your php.ini file and check what the value of the max_execution_time directive is:
[root@server ~]# php -i | grep php.ini
Configuration File (php.ini) Path => /etc
Loaded Configuration File => /etc/php.ini
[root@server ~]# grep -i max_execution /etc/php.ini
max_execution_time = 30
[root@server ~]#

Open your php.ini
vi /etc/php.ini
Then change the value of the variable max_execution_time to whatever you desire. For example, a maximum execution time of 15 minutes, change the variable to 900 seconds:
max_execution_time = 900

Leave a Reply

Your email address will not be published.

SEARCH

Categories

Get Free Shipping on Everything All Season Long
Best Buy Co, Inc.
Best Buy Co, Inc.