That is because php is looking for php.ini in c:\winnt.....it has no relation to whether or not the file actually exists there. If a php.ini does not exist where it looks for it, php uses defaults for every internal setting.
> -----Original Message----- > From: Hammad Sophie [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 02, 2002 3:26 PM > To: php-win > Subject: RE: [PHP-WIN] Editing setting session_save.path in > the php.ini > file doesn't register the change!!! > > > I've been playing around with my php installation. Even when > I get rid of > the php.ini file from the c:\winnt directory and then run the > phpInfo() > script from the browser, I get weird values such as: > Configuration File (php.ini) Path c:\winnt > > Can anyone explain whats going on here? I'm really confused. > > thanks. > > hammad. > > -----Original Message----- > From: Hammad Sophie [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 02, 2002 12:18 PM > To: [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] Editing setting session_save.path in > the php.ini > file doesn't register the change!!! > > > > I tried the suggestions given by Ryan and Symeon but they > didn't work. Any > other ideas? > > Thanks. > > Hammad. > > -----Original Message----- > From: Hammad Sophie [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 02, 2002 11:50 AM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Editing setting session_save.path in the > php.ini file > doesn't register the change!!! > > > > Hello fellow PHP windows users. > > I installed Apache 1.3.23 and PHP 4.1.2 a couple of days ago > on my win 2k > installation. I am having trouble with the php.ini file: I am > trying to set > the session_save.path to something other than the default > value of "/tmp" > (since /tmp doesn't work on windows) such as: "c:\temp\php" > (or any other > directory such as: "c:\winnt\temp" etc.) > > However, even after I change the value, save php.ini, restart > apache, and > run a test script such as phpInfo(), it still showss the > default value of > "/tmp"! > > > I tried changing the value explicitly by setting up a session in a php > script such as: > > <?php > session_save_path("c:\temp\php"); > session_start(); > phpInfo(); > ?> > > it displays the session.save_path() value correctly on the > info page!!! > > What am i doing wrong? Are there any other values that i need > to change? Do > I need to change anything in httpd.conf in Apache? I am > utterly confused. > > FYI: i am using the php.ini-optimized file. Other changes > that i make to it > work, such as when I changed register_globals to on, set the extension > paths, etc. > > Your help would be greatly appreciated. > > Thanks. > > Hammad. > [EMAIL PROTECTED] > > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php