apache, php user names
| From: | Dennis Gearon | Date: | Tue, 19 Mar 2002 01:28:20 +0000 |
| Subject: | apache, php user names | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-89064@lists.php.net to get a copy of this message | ||
On a shared hosting provider, I have an account like:
/home/~myname/www/
and
/home/~myname/resources/
As far as I know, apache can only access what's in the www directory and
below. However,
php can include stuff from the resources directory. This is where it's
recommended to keep the database passwords.
How did the sysop, (not me), set this up?
What user/group would apache run as?
Also, what user/group would the php script be in, apache's?
--
If You want to buy computer parts, see the reviews at:
http://www.cnet.com/
**OR EVEN BETTER COMPILATIONS**!!
http://sysopt.earthweb.com/userreviews/products/