RE: [PHP] !!Urgent .. Session Problem
| From: | Ford, Mike | Date: | Sat, 04 Sep 2004 11:08:31 +0000 |
| Subject: | RE: [PHP] !!Urgent .. Session Problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-195824@lists.php.net to get a copy of this message | ||
On 04 September 2004 10:15, Dre wrote:
> > > Warning: session_start():
> open(/tmp\sess_2984f6d378560d0882f37728dbe1defc,
> > > O_RDWR) failed: No such file or directory (2) in C:\Program
> > > Files\Apache Group\Apache2\htdocs\ELBA\logme_in.php on line 3
> > > the session.save_path parameter in my php.ini file is as follows
> > > **************************************
> > > session.save_path = "C:/WINDOWS/Temp"
> > > **************************************
Believe me, the discrepancy in paths between the error message and your php.ini file setting means
that PHP is *not* reading that php.ini. Either it's reading another one (which you say not),
or it's not finding one at all and just using all its default settings.
Best thing to do at this point is probably to run a phpinfo and look to see where PHP tells you
it's expecting to find php.ini.
(Just in case you're new to that game: make a script containing
<?php phpinfo() ?>
and request it in your browser. In the block of information near the top is the path of where
it's expecting php.ini, labelled something like "Configuration file (php.ini) Path"
-- that's where your php.ini should be.)
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Headingley Campus, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@leedsmet.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211