PHP Execution Timeout Digest

Setting the PHP execution limit in php.ini

max_execution_time = 600

===========

Using PHP:

<?php
// set the PHP timelimit to 10 minutes
set_time_limit(600);
?>

<?php ini_set(‘max_execution_time’,600); ?>

 

Override PHP execution time in .htaccess file

  • php_value max_execution_time 600

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *