codeigniter - PHP script stops working after sometime -


i made 1 script in php run cron file. file read large csv file (maximum 100mb ) ,filter data , save database. when run file 5000 records in csv file takes 3500 records , stop working.

i using codeigniter , getting followin error "webpage not available"

can provide me solution script ?

thanks !

in system/core/codeigniter.php, search set_time_limit got below line of code .you can change here set_time_limit in codignator

if (function_exists("set_time_limit") == true , @ini_get("safe_mode") == 0) {     @set_time_limit(300);// change according requirment } 

as there no other way avoid changing core file, give infinite maximum execution time cli request.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -