I am trying to get WB set up with a shared hosting provider and have been bitten by the permissions problem (i.e., ftp uploads as one user, webserver/php process runs as another, and so webserver/php cannot write to files and dirs).
I asked the hosting company about it, and they replied with:
"On your server, php5 runs as an apache module, so scripts are executed as the webserver user 'nobody'. If your site is compatible with php4 (which runs via suphp under your username) we can switch it to that, and correct the owner/permissions.
"Alternatively we can move your account to a server that runs both php4/php5 via suphp. Let us know how you'd like to proceed."
In a followup, they also said they would be able to change ownership of the files uploaded by ftp to 'nobody'.
So, two questions:
1) Given the choices above, which option is the best:
- Have the hosting provider manually switch file ownerships to 'nobody'. (And what happens when you need to upgrade WB? Ask them to intervene each time you upgrade?)
- Have them move my account to server that uses PHP5+suPHP. (I've never knowingly used suPHP so I have no idea what I might be getting myself into.)
- Keep the stuff on the present server and use PHP4 with suPHP. (I would really rather not use PHP4.)
2) What are some good things to ask a hosting provider before signing on with them if you plan to run WB? (This one might be a good one for the FAQ.)
-M