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:[EMAIL PROTECTED] Sent: Wednesday, September 22, 2004 12:24 AM To: [EMAIL PROTECTED] 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. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

