Are you prepending any file? (php.ini/.htaccess file.prepend setting)
Dre wrote:
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" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
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: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php