Bug #17871 Updated: session.save_path has no effect
| From: | mfischer@php.net | Date: | Thu, 20 Jun 2002 11:41:06 +0000 |
| Subject: | Bug #17871 Updated: session.save_path has no effect | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-11553@lists.php.net to get a copy of this message | ||
ID: 17871
Updated by: mfischer@php.net
Reported By: ian.cluderay@blueyonder.co.uk
-Status: Open
+Status: Feedback
Bug Type: Session related
Operating System: win2k
PHP Version: 4.2.1
New Comment:
This may sound stupid but can you try the path without quotes ?
Previous Comments:
------------------------------------------------------------------------
[2002-06-20 07:24:10] ian.cluderay@blueyonder.co.uk
Thanks.
------------------------------------------------------------------------
[2002-06-20 07:08:39] ian.cluderay@blueyonder.co.uk
Yes, and it shows all the changes I've made to the file
File header
System Windows NT 5.0 build 2195
Build Date May 12 2002 23:51:56
Server API ISAPI
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\WINNT\php.ini
Debug Build no
Thread Safety enabled
The only mystery is that the session.save_path shows
session.save_path /tmp /tmp
when the ini file says
; Argument passed to save_handler. In the case of files, this is the
path
; where data files are stored. Note: Windows users have to change this
; variable in order to use PHP's session functions.
session.save_path = "c:\php\sessions"
------------------------------------------------------------------------
[2002-06-20 07:02:54] sander@php.net
Does phpinfo() show the correct place of your php.ini file _and_ the
correct session.save_path?
------------------------------------------------------------------------
[2002-06-20 06:59:00] ian.cluderay@blueyonder.co.uk
Please take 2 mins to look over this, PHP has been told where to look
for these files but its not listening.
PHP.ini is where it should be and PHP knows where to find it.
------------------------------------------------------------------------
[2002-06-20 06:57:58] ian.cluderay@blueyonder.co.uk
That dosn't make sense, I removed my PHP.ini file from C:\winnt and PHP
ceased to work properly.
I put it back and it works fine (apart from this problem).
When I've edited it before the changes have been noticed so it does
know where to find the file.
I could understand it being a config issue apart from the fact that
NOWHERE does it use /tmp
I changed those references, so where is PHP getting this from ?
PHP incorrectly belives my session.store_path is /tmp but I've removed
all references to /tmp and restart my PC more than once (i've also
restarted IIS).
Where is PHP incorrectly getting this info from ?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/17871
--
Edit this bug report at http://bugs.php.net/?id=17871&edit=1