php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24803 Function ini_get() not behaving - possibly overriding settings as it encounters
Submitted: 2003-07-25 06:32 UTC Modified: 2003-07-25 07:46 UTC
From: jason at classical dot com Assigned:
Status: Not a bug Package: PHP options/info functions
PHP Version: 4.3.1 OS: Redhat 7.3
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: jason at classical dot com
New email:
PHP Version: OS:

 

 [2003-07-25 06:32 UTC] jason at classical dot com
Description:
------------
I have two virtual hosts A and B. Within httpd.conf i specify different values for the session handler like this:
php_value session.save_handler msession
Pretty standard stuff..Domain A uses 'msession' and domain B uses 'user'.
The problem is that when i use 
$handler=ini_get("session.save_handler");
i dont get back the value i except. I know the value is set correctly because phpinfo() displays the right result. I believe it's an implementation issue with ini_get().



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-25 07:46 UTC] iliaa@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.

Thank you for your interest in PHP.

This has nothing do with ini_get(), but an issue described in bug #23580, which this bug is duplicate off.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 09 17:01:32 2024 UTC