RE: [PHP] Cannot write data in session file
| From: | Chris Gregors | Date: | Wed, 22 Sep 2004 20:32:49 +0000 |
| Subject: | RE: [PHP] Cannot write data in session file | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-197613@lists.php.net to get a copy of this message | ||
1. logon to the linux image.
2. determine the userid that the webserver runs as (for apache, look in httpd.conf)
3. su to that user
4. cd /tmp.
5. touch temp_file.
If the touch works, then contact your sysadm
If the touch doesn't work, contact your sysadm to grant write access to /tmp for the user.
-----Original Message-----
From: Bo Deng [mailto:dengb1@yahoo.com]
Sent: Wednesday, September 22, 2004 12:24 AM
To: php-general@lists.php.net
Subject: [PHP] Cannot write data in session file
I just move the web pages from windows to linux. But the session variable doesn't work. And I
found that in the \tmp directoy, it has
sess_****(MD5) file,but with empty contents,just 0 byte.
BTW, I run a linux virtual host under IBM s390. the code works well in windows and other linux
systems(not virtual host).
So how to fix it ?
Thank you!
---------------------------------
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.