Hello
Im currently working on an upload script for videos, meaning it will take some time for the page to load. I have configured an .htaccess file in the folder as well as set the set_time_limit function to give the script 6000 seconds to execute.
But the problem is that just randomly it returns this error msg:
Fatal error: Maximum execution time of 6000 seconds exceeded in *** on line 3
Even though I tested with a small file that took at max 3 minutes to upload. 6000 seconds is by my math about 1,5 hour.
The script does a move_uploaded_file, and runs ffmpeg with the file to extract a tumbnail before it compresses and converts the file to flv and then at the end deletes the source video file uploaded.
Anyone got any Ideas what might be causing this random timeout?