|Posted: Wed, 2003-05-21 22:44|
Ok... Having realized the extent to which Safe Mode opens up a shared server, I'm questioning the reason why safe mode needs to be off.
The only thing I can come up with that might need safe mode to be off is the need to be able to write files (uploaded images) as the apache user, when the apache user doesn't own the directory to which it is writing to. Or anything else related to creating or moving files around in directories not owned by the apache user.
Is this it? Are there any other things that require safe mode to be off? Can this be worked around by doing a recursive chown on the albums directory, and a chown on the temp directory, to the apache user?
Basically I'm looking for a way - other than CGI PHP - to be able to have a secure shared server while allowing Gallery to run.