As an apache module it runs as the apache user.
On Friday 10 October 2003 17:44, Grant Rutherford wrote:
> Hi,
>
> Just a quick question... What user does php run as on linux? Is it the
> Apache user? Is there some way to tell? I need to be able to set a
> directory so that only PHP can access
> 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
-
Hi,
Just a quick question... What user does php run as on linux? Is it the
Apache user? Is there some way to tell? I need to be able to set a
directory so that only PHP can access it.
Thanks,
Grant
--
Grant Rutherford
Iders Incorporated
600A Clifton Street
Winnipeg, MB
R3G 2X6
http://www.id
3 matches
Mail list logo