If it worked and you never changed hosts (I didn't read that anywhere) then it could just be a permission issue. Is your script being run under the apache process or as your user?
Check the permissions, there may be something wonky there...
All the other proposed solutions I would have tried as well so it has to be something else.
Goodluck

