[sc:internet-category ]A friend of mine is using GoDaddy hosting to server up a WordPress site and he was having issues with GoDaddy killing his process after 120 seconds.
He was using the shared hosting option and GoDaddy by default limits scripts so they don’t waste processing power. However the documentation from GoDaddy is kind of vauge and actual implementation was different and in the end didn’t really work.
Here’s what they say to do, create a php5.ini file in your root hosting directory and add the configuration directive.
If you then run phpinfo(), you see the time limit has been increased. However if you run a script you’ll find it still terminates after 120 seconds.
Adding both a php.ini AND a php5.ini works better and extends the time limit slightly, but still after about 150 seconds the script times out.
There seems to be a system wide limit, which I can’t really blame them for, on scripts. It’s not something most people will run in to, but there are a few situations where it can be a real nuisance.