I am running a very large script (importing data from a CSV file to a database). The CSV file contains thousands of rows, hence why the script times out.
The script is also being run on a shared-server (if this helps).
I have tried changing the max_execution_time
to 60, set_time_limit
to 0 (and 300) and finally I tried using ignore_user_abort(true)
to check if this continues the script after the user aborts.
Could somebody please advise?
Thank you