RE: [PHP-WIN] Editing setting session_save.path in the php.ini file doesn't register the change!!!
| From: | Hammad Sophie | Date: | Wed, 03 Apr 2002 00:58:36 +0000 |
| Subject: | RE: [PHP-WIN] Editing setting session_save.path in the php.ini file doesn't register the change!!! | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-12913@lists.php.net to get a copy of this message | ||
Yes, it seems that php defaults to some hardcoded values if it can't find
the php.ini file. However, my problem still remains unsolved. Even when the
php.ini file is in the c:\winnt directory it is not registering changes to
the session.save_path variable.
Is this a bug or am i doing something wrong?
Hammad.
-----Original Message-----
From: Shrock, Court [mailto:ShrockC@inhs.org]
Sent: Tuesday, April 02, 2002 3:30 PM
To: 'Hammad Sophie'
Cc: 'php-windows@lists.php.net'
Subject: RE: [PHP-WIN] Editing setting session_save.path in the php.ini
file doesn't register the change!!!
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:hammad@sibisoft.com]
> 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:hammad@sibisoft.com]
> Sent: Tuesday, April 02, 2002 12:18 PM
> To: php-windows@lists.php.net
> 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:hammad@sibisoft.com]
> Sent: Tuesday, April 02, 2002 11:50 AM
> To: php-windows@lists.php.net
> 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.
> hammad@sibisoft.com
>
>
>
>
> --
> 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
>