Does anyone have any suggestions for method(s) I can incorporate into my script (that resizes large amounts of images at a time) to stop timeouts?
Currently, it seems to timeout after approx. 30 seconds, though no error message pops up. I have set_time_limit set to a high value (86400), so I know that isn’t the problem. The test graphics I’m trying to resize are very small in file size (8K? but pretty huge in pixel size (4000×2000). I’m basically just testing it with extremes to make sure it will work.
For some reason, no matter what I try, the script will stop executing after ~30 seconds. I’ve tried other scripts that people have posted on the PHP Manual site that are supposed to keep your script running for an indefinite period of time and they all stop after 30 seconds. I’m running this script off of the GoDaddy servers and its just the most basic hosting package that I’m using.
Any help on this would be greatly appreciated.