php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15167 Session_save_path in php.ini doesn't work
Submitted: 2002-01-22 11:59 UTC Modified: 2002-02-04 01:33 UTC
From: vg dot orlov at globalone dot ru Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.1.1 OS: Solaris 8
Private report: No CVE-ID: None
 [2002-01-22 11:59 UTC] vg dot orlov at globalone dot ru
I have in php.ini file the following string

session.save_path = /some/directory/sessions

i.e. session.save_path differs from default /tmp directory/

But it doesn't work!!

All sessions files appear in /tmp directory anyway.

I use Apache 1.3.22 on Solaris 8 + PHP 4.1.1

Setting in php.ini session.name to something different also fails. 



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-22 14:33 UTC] sander@php.net
Didn't you forget to restart Apache?
 [2002-01-23 01:50 UTC] vg dot orlov at globalone dot ru
Yes, of course.
Furthermore, it seems PHP doesn't read php.ini file while Apache restarting!!
I removed php.ini file and restarting was successfull, no errors!!

In addition, I insert into php.ini file the string

disable_functions = phpinfo

but it doesn't work again.




 [2002-02-02 21:36 UTC] yohgaki@php.net
It's most likely not a bug.
Please check your config path (php.ini location)

You are not editing proper php.ini, probably.
 [2002-02-04 01:33 UTC] vg dot orlov at globalone dot ru
I've resolved the problem. 
It was compiling error.

Excuse me for disturbance.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 17:01:31 2024 UTC