php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22800 session.save_path changed to /tmp
Submitted: 2003-03-20 03:03 UTC Modified: 2003-03-22 18:50 UTC
From: bid3k at hotmail dot com Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.3.2RC1 OS: Windows XP
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bid3k at hotmail dot com
New email:
PHP Version: OS:

 

 [2003-03-20 03:03 UTC] bid3k at hotmail dot com
I recently started messing around with sessions and everything was going fine until I decided to load the gz extension.

From hours of experimenting I found out that when the extention dir is correctly mentioned (c:\progra~1\php\extensions in my case) then my session.save_path is set to /tmp even though the php.ini tells it to use c:\progra~1\php\sessiondata.

It also happens in 4.31, I don't know if it happens before that. Now the question is, how can I have both the sessions and the extensions?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-20 17:17 UTC] sniper@php.net
What are the EXACT lines for session.save_path and extension_dir in your php.ini ??

 [2003-03-22 18:15 UTC] bid3k at hotmail dot com
they are:

session.save_path = C:\WINDOWS\Temp    ; argument passed to save_handler

extension_dir = C:\Progra~1\PHP\extensions ;<-- this is frelled!!!!!!
 [2003-03-22 18:17 UTC] bid3k at hotmail dot com
If I use the longfile name then it can't find the files. Just thought I would mention if case you wanted to know it.
 [2003-03-22 18:35 UTC] bid3k at hotmail dot com
The problem got fixed when I got a copy of my friend's PHP.ini and modified it for my system. I really don't know what was wrong, but oh well. it works now.
 [2003-03-22 18:50 UTC] sniper@php.net
Obviously not any bug in PHP then.
And _always_ put any paths in php.ini inside double quotes.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 17:01:33 2025 UTC