Apache 2.0 and Sessions
| From: | Stephen Craton | Date: | Tue, 11 Jan 2005 22:02:56 +0000 |
| Subject: | Apache 2.0 and Sessions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-206116@lists.php.net to get a copy of this message | ||
I just updated to Apache 2.0 and have gotten PHP all with it. However, I
just loaded up a script that worked fine on my old Apache 1.3 install but is
now causing my errors. Here's the error:
Warning: session_start():
open(C:\WINDOWS\TEMP\\sess_8c53cb2382f75076c51ed4b3edece36b, O_RDWR) failed:
No such file or directory (2) in D:\htdocs\payments\index.php on line 8
Warning: session_start(): Cannot send session cache limiter - headers
already sent (output started at D:\htdocs\payments\index.php:8) in
D:\htdocs\payments\index.php on line 8
I don't see why it's happening, especially since I went into php.ini (I'm on
Windows XP) and changed session.save_patch to this:
session.save_path = "C:/PHP/sessiondata"
Can anyone give me some input here? I think I see the problem, the whole
double back slash in the file location, but I don't see how to fix that.
Thanks,
Stephen Craton