Re: Problem with sessions
| From: | John W. Holmes | Date: | Thu, 17 Jul 2003 22:34:44 +0000 |
| Subject: | Re: Problem with sessions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-155696@lists.php.net to get a copy of this message | ||
Peda wrote:
Warning: session_start(): open(tmp/sess_41e301350c11c38d0249bc8c72ffb2ec, O_RDWR) failed: Permission denied (13) in /home2/pena/public_html/listing1.php on line 3 Can anyone tell me what is wrong?PHP is trying to save session data in /tmp by writing a file there, but permission is denied. So, either give /tmp the right permissions so PHP can access it or set another save location in php.ini. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ PHP|Architect: A magazine for PHP Professionals – www.phparch.com