php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40963 --with-config-file-path is not respected
Submitted: 2007-03-30 20:23 UTC Modified: 2007-04-02 10:39 UTC
From: spam at 2xlp dot com Assigned:
Status: Not a bug Package: *Compile Issues
PHP Version: 5.2.1 OS: Mac OSX 10.4.9
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: spam at 2xlp dot com
New email:
PHP Version: OS:

 

 [2007-03-30 20:23 UTC] spam at 2xlp dot com
Description:
------------
on osx 10.4.x and php 5.1.x > 5.2.x

--with-config-file-path results in a binary that lists the custom path 
in phpinfo(), but does not actually read the custom path. nor does it 
seem to read the default config file path either -- it effectively 
disables the config file 

Reproduce code:
---------------
1) ./configure --with-config-file-path=/usr/local/lib/php5.2.0.ini 

2) view phpinfo(), note that '/usr/local/lib/php5.2.0.ini' appears as the config file path

3) load modules or disable php in /usr/local/lib/php5.2.0.ini , restart apache/fcgi ,  note that nothing in the ini is respected 

4) rename /usr/local/lib/php5.2.0.ini to /usr/local/lib/php.ini , restart apache/fcgi ,  note that nothing in the ini is respected


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-04-02 10:39 UTC] sniper@php.net
Having had the same "bug" myself, I can assure you it's not a bug.
Notice the name of the configure option, especially the last word:
 
  --with-config-file-path

PATH is not same as full-path. Using option

  --with-config-file-path=/usr/local/lib/php5.2.0.ini 

will result in setting the ini-PATH to: /usr/local/lib/php5.2.0.ini/

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 23:01:34 2024 UTC