php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #740 get_cfg_var() does not get configuration values overriden by Apache directives
Submitted: 1998-09-12 22:47 UTC Modified: 1998-09-13 21:42 UTC
From: mlemos at acm dot org Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0 Final Release OS:
Private report: No CVE-ID: None
 [1998-09-12 22:47 UTC] mlemos at acm dot org
get_cfg_var() does not get configuration values overriden by PHP Apache
directives.

For instance, if you set have php3_include_path to one value in .htaccess
or with Apache <Directory> directives, the include_path setting will work
but get_cfg_var("include_path") will still get the value set in php.ini
file, even when you work with PHP as Apache module.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-09-13 21:42 UTC] zeev
This is the intended behavior.  get_cfg_var() returns
values from the php3.ini file only.

Additional functions that give additional functionality
will be introduced in version 3.1.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 09:01:28 2024 UTC