Re: php as user apache
| From: | John W. Holmes | Date: | Thu, 03 Jun 2004 19:54:55 +0000 |
| Subject: | Re: php as user apache | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-187574@lists.php.net to get a copy of this message | ||
From: "Nirnimesh" <nirnimesh@students.iiit.net>
> I have a problem regarding using my php scripts to write files to my
> account.
> We know that php runs as user apache. Now giving write permissions to
> apache for uploading files to my account essentially means that I have to
> give write permissions for apache (i.e. o+w). Now, does that not mean that
> any user which is can run php scripts can have access to my account?
Yes (well, has access to that directory).
> Is there any configuration setting that I'm missing.
Safe mode, open_basedir, etc.
---John Holmes...