[-^-!-%- wrote:
Yep. It's me again. 96 hours into the battle, and SESSIONS are still
winning.

I've written my login script and is now getting the following error.
Please advise.

Warning: open(/tmp/sess_a690c089dead297c95034d9fe243f860, O_RDWR) failed:
Permission denied (13) in Unknown on line 0

Warning: Failed to write session data (files). Please verify that the
current setting of session.save_path is correct (/tmp) in Unknown on line
0

First thing, make sure /tmp exists.
If it does, make sure that the apache user has permissions to write to it. You can modify its permissions so that the apache user and/or group can write to /tmp; or you can chmod it to 777 (which could lead to other security issues).


This should get rid of your warnings.

--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com

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



Reply via email to