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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
37 - 31 = ?
Subscribe to this entry?

 
 [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: Fri May 17 04:01:34 2024 UTC