I've made a VERY basic website which takes an array of image URLs, zips them, and returns the zip location. The problem is that the script cuts off at some point.
One of the following usually happens:
- not all the pictures are copied
- not all pictures are copied and the last picture has 0 file size
- sometimes the ajax call doesn't run the error or success callback
Is this because the server is only allowing a certain amount of time for the script to execute? It does seem to work with less pictures. What can I do?
I have the following settings:
max_execution_time 10 10 max_file_uploads 20 20 max_input_nesting_level 64 64 max_input_time 10
also, set_time_limit is disabled.
I tried ini_set('max_execution_time', 300); and nothing changed
edit: Probably a REALLY stupid question, but would it change anything if I executed another PHP page after a certain amount of time if the script isn't going to finish before the limit?
file_get_contentsthe log file to display it in your browser.