Re: Still having problems...?!
| From: | 1LT John W. Holmes | Date: | Tue, 10 Dec 2002 22:19:23 +0000 |
| Subject: | Re: Still having problems...?! | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-24041@lists.php.net to get a copy of this message | ||
> Warning: open(/tmp\sess_1df563d6d8c8b4b16534c438251e7107, O_RDWR) failed:
> No such file or directory (2) in E:\Webroot\tutorial\page1.php on line 3
>
> Warning: open(/tmp\sess_1df563d6d8c8b4b16534c438251e7107, O_RDWR) failed:
> No such file or directory (2) in Unknown on line 0
>
> Warning: Failed to write session data (files). Please verify that the
> current setting of session.save_path is correct ***>>(/tmp)<<*** in
> Unknown on line 0
>
> This is the php.ini line; session.save_path = e:\webroot\tmp, and i have
> created the directory tmp in that location. i tried both \'s and /'s for
> that line, not sure as to whether they do any difference or not, and
> restarted the server service both times.
I use c:/path/to/dir in my php.ini.
Are you sure you're editing the right php.ini? Load up a page with just
<? phpinfo(); ?>
in it and look at the first block. It will tell you the "Configuration File
(php.ini) Path" that php is looking at. If it is just a directory, and
doesn't list a php.ini file, then that's the directory where php expects to
find php.ini, but it's not there. If there is a php.ini listed, make sure
that's the one your editing.
---John Holmes...