Wednesday, October 17, 2012
6:01 PM

Set PHP execution time in Code Itself

It is possible to Set PHP execution time in code No need to changing php.ini file

Add Below line to your PHP code
ini_set('max_execution_time', 1919);
where 1919 means PHP script will execute 1919 seconds

Example:
<?php
ini_set('max_execution_time', 1919);
.................
................
..............

?>

0 comments:

Post a Comment