I have a script that updates a database with the contents of a csv file.
There are 127,618 rows in the file, but it stops running at around row 4,000.
I was wondering if it could be the process timing out, so I added this line to the beginning of the script:
I have never seen behavior like this in a php script before. I don't believe that it is an issue with the script itself, as it is a modified script that I have been running on an older server. I don't know where to look to find the problem, however. Any insight would be greatly appreciated.
There are 127,618 rows in the file, but it stops running at around row 4,000.
I was wondering if it could be the process timing out, so I added this line to the beginning of the script:
Code:
set_time_limit(2160000);
I have never seen behavior like this in a php script before. I don't believe that it is an issue with the script itself, as it is a modified script that I have been running on an older server. I don't know where to look to find the problem, however. Any insight would be greatly appreciated.