Hi. My first post.
I'm working on a php script for a client, brief description is that it goes out to a bunch of sites and downloads information about products, including quite a few images, which it then resizes (creating thumbnails, etc). The gist is it takes a while to run, and I'm noticing it's timing-out at about 5 minutes.
My client uses godaddy for hosting, and my guess is their apache Timeout is set to 5 minutes. Unfortunately I cannot seem to override this in a .htaccess (which would be nice to test whether this is really the issue or not).
My question is , would this Apache Timeout even affect a PHP script running as a cron job (eg .../bin/php5 myscript -dot - php). I'm setting up the cron job via godaddy's control interface (since ssh access is not enabled, another bummer as I can't even invoke the script directly to test it).
I called set_time_limit(10*60) in the script itself, which should allow php itself to run for 10 minutes. Basically, I'm trying to determine if Apache is the issue. If so I need to redesign around the fact that I can't override it.
Helo
ps--I called godaddy support and they did not give me much help on a technical level.


.






Bookmarks