[BlueOnyx:06765] suPHP and sessions

Robert Fitzpatrick robert at webtent.org
Mon Mar 21 14:23:34 -05 2011


I find that with suPHP enabled and ownership set to the admin user,
sessions are not working due to ....

[Mon Mar 21 15:17:33 2011] [error] [client 72.64.244.53] PHP Warning:
Unknown: open(/var/lib/php/session/sess_i7r3j9isrt3ilf8gekog2sgc67,
O_RDWR) failed: Permission denied (13) in Unknown on line 0, referer:
http://demo.webtent.net/login.php?info=DENIED

This is because the permissions are root.apache on the session directory...

drwxrwx--- 2 root   apache 212K Mar 21 15:15 .

Of course, there's more than one way to handle this, I was wondering if
there was a preferred way others are using for minimal impact on BO?

Thanks for all the help, Robert



More information about the Blueonyx mailing list