I have a php script that reads a csv file that contains URLs, follows the URLs, parses them and save some data into a database. The csv is around 1000 lines. However, my php script seems to stop after parsing some URLs (between 2 and 15 - never less, never more, but always different) neither showing any error in the browser nor writing it to php_errors.php.
I have also placed enabled php server logging via .htaccess:
# enable PHP error logging
php_flag  log_errors on
php_value error_log "home/user/public_html/path/php_errors.log"
Also did I set the logging parameters in the php script with:
error_reporting(E_ALL); 
ini_set('display_errors', 1); 
I have no idea how to catch the reason why the script breaks. It really works perfect until it stops.
Before adding this question I run into another question on stackoverflow and addressed all the resolutions.
I set display_errors = on in php.ini.
My script has no syntax errors and it parses well to a point.
 
     
    