[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apache/suexec + php

I'm not shure I understand your question correctly, and some information on your config would be helpful.
Do you use mod_php or the php cgi version?
Do you run php in safe mode?

suexec works for the php cgi version, and I wouldn't say it is unofficial :)
More info on suexec: http://httpd.apache.org/docs/suexec.html

Other than that it is possible to set the umask and the permissions in a php script.



--On Samstag, 23. Februar 2002 17:36 -0800 Frank Nijenhuis <f.nijenhuis@zx.nl> wrote:

We've got a virtual hosting server running, one site running there uses
php to write somefiles, those files need to get the ownership of the
virutal server and rw rights for all :) I noticed that there are several
patches around for suexec which will treat php files as scripts, running
them as the specified user..and with setting the umask I'll probably
achieve what i want. Then again, all those patches are no official
patches...just stuff ppl wrote when running into the same problem.

Are there people here, running virtual hosting servers with php and
apache suexec? What patch do you use and are they reliable?

Reply to: