RE: `ls -l /` does not reproduce same info than when executed in bash.

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

 



[snip]
   I did "su - apache" to switch to the same user under which the Apache
   server is running and tried the "ls -ld /" under bash, and it worked
   fine.  Thus the server's has all the permissions to read the root
   directory.  Yet PHP does not seam to have these permissions.
[/snip]

Good work Sparky, you answered your own question.

Who does PHP run as? Does it really run as Apache?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux