Every once in a while we need to process a HUGE file. Though PHP probably isn't the most efficient way of processing the file, we usually use PHP because it makes coding the processing script much faster. To prevent the script from timing out, I need to increase the execution time of the specific processing script.
How to fix<?php
//300 seconds = 5 minutes
ini_set('max_execution_time', 300);
?>
Place this at the top of your PHP script.
0 comments:
Post a Comment