RE: [PHP-WIN] Editing setting session_save.path in the php.ini fi le doesn't register the change!!!
| From: | Shrock, Court | Date: | Tue, 02 Apr 2002 23:29:30 +0000 |
| Subject: | RE: [PHP-WIN] Editing setting session_save.path in the php.ini fi le doesn't register the change!!! | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-12911@lists.php.net to get a copy of this message | ||
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
>