Increase Maximum Execution Time for PHP Scripts

by Sasikumar 2014-06-04 18:39:00

Some times we would need out scripts to excutes longer than the default "30 seconds" limit of execution.
In such cases use the following in your file,
Execution Time Limit:
In your file
or php.ini file :-
ini_set('max_execution_time', 300);
In .htaccess file :-
<IfModule mod_php5.c>
php_value max_execution_time 259200
</IfModule>

 
1110
like
0
dislike
0
mail
flag

You must LOGIN to add comments