In this article, I will share with you, how to increase maximum execution time in PHP. Let's see:
You can try to set_time_limit(n)
. However, if your PHP setup is running in safe mode, you can only change it from the php.ini
file.
ini_set('max_execution_time', '300'); //300 seconds = 5 minutes
ini_set('max_execution_time', '0'); // for infinite time of execution
use below statement if safe_mode
is off
set_time_limit(0);
Tags :
PHP
Subscribe For Newsletter
0+ People Subscribe today.