|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12657 session problem when run as Apache SAPI
Submitted: 2001-08-08 13:05 UTC Modified: 2001-08-08 13:10 UTC
From: lecoq_tr at hotmail dot com Assigned:
Status: Not a bug Package: *Configuration Issues
PHP Version: 4.0.6 OS: win2000
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: lecoq_tr at hotmail dot com
New email:
PHP Version: OS:


 [2001-08-08 13:05 UTC] lecoq_tr at hotmail dot com
I had to run PHP as DLL rather than EXE because I need to override php.ini settings by using .htaccess

As an EXE it works properly, but when run as apache DLL I face session problems. Although I change session.save_path in php.ini to "c:\\apache\\php\\tmp" (also tried "c:\apache\php\tmp") PHP tries to save cookies to /tmp , and for sure it cannot.

I did a session.save_handler = mm  in php.ini, but PHP still tried to save the cookie to /tmp.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-08 13:10 UTC]
Your php.ini file you are editing isn't read by PHP.
So it's obviously in wrong place. Not a bug.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 12 22:01:29 2024 UTC