Try C:/temp

This is the exact line from my config.
session.save_path = c:/temp



Ryan


-----Original Message-----
From: Hammad Sophie [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, April 02, 2002 2:50 PM
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

Reply via email to