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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Tue Jun 11 17:01:35 2024 UTC