Wednesday 17 October 2012

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);
.................
................
..............

?>

Share This!



No comments:

Post a Comment

Here We Write The Problems we face at different situations and Solutions to those problems.