Re: Quick question: PHP user?
| From: | Dan Anderson | Date: | Fri, 10 Oct 2003 22:10:35 +0000 |
| Subject: | Re: Quick question: PHP user? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165803@lists.php.net to get a copy of this message | ||
> Just a quick question... What user does php run as on linux?
It all depends on how PHP is set up. Do something like:
$fff = fopen ("./temp","w");
fwrite($fff,"testing");
fclose($fff);
in a directory chmod 777. Look at the user id.
(For what it's worth on my system its UID 518).
-Dan