Re: !!Urgent .. Session Problem
| From: | Dre | Date: | Sat, 04 Sep 2004 14:37:29 +0000 |
| Subject: | Re: !!Urgent .. Session Problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-195848@lists.php.net to get a copy of this message | ||
YES .. THAT WAS THE PROBLEM
EVEN IF UR REPLY CAME A LITTLE LATE .. BUT THANKS ..
THE PHP was not reading my php.ini and it was using default settings
"Mike Ford" <M.Ford@leedsmet.ac.uk> wrote in message
news:0EEFC4D3CBE8A142868E396381B77A53D126D0@lis-exchange3.lmu.ac.uk...
> 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