RE: [PHP] PHP on IIS session problems
| From: | Jon Haworth | Date: | Mon, 03 Mar 2003 15:56:16 +0000 |
| Subject: | RE: [PHP] PHP on IIS session problems | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-137903@lists.php.net to get a copy of this message | ||
Hi Victor,
> Warning: session_start() [function.session-start]:
> open(/tmp\sess_f4aa3ef3c537bb6327d5e7b991e91be7, O_RDWR) failed: No such
> file or directory (2) in c:\inetpub\wwwroot\picoblog\admin.php on line 2
Pay attention to the error messages. This one explains exactly what you're
doing wrong, if only you'd read it.
You're trying to save your session files into your /tmp directory, which
only exists on unix-based systems. You can fix this by editing your php.ini
(specifically the session.save_path directive), but it's probably a good
idea to RTFM as well.
Cheers
Jon