php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25466 PHP ignores --with-config-file-path compile option somehow?
Submitted: 2003-09-10 05:22 UTC Modified: 2003-09-10 09:16 UTC
From: php-bugs-2003-09 at webfreezer dot com Assigned:
Status: Not a bug Package: PHP options/info functions
PHP Version: 4.3.3 OS: Linux
Private report: No CVE-ID: None
 [2003-09-10 05:22 UTC] php-bugs-2003-09 at webfreezer dot com
Description:
------------
PHP was compiled with the --with-config-file-path=/etc option however phpinfo() says "Configuration file (php.ini) path: /etc/httpd/php.ini"



Reproduce code:
---------------
'./configure' '--with-apache=../apache_1.3.28' '--with-mhash=/usr/local/lib' '--with-zlib-dir=/usr/local/lib' '--with-zip=/usr/local/lib' '--enable-memory-limit' '--enable-versioning' '--with-gd' '--enable-exif' '--with-config-file-path=/etc' '--enable-magic-quotes' '--enable-thread-safety' '--with-gettext' '--with-xml' '--with-mcrypt' '--enable-calendar' '--enable-bcmath' '--with-curl' '--with-curlwrappers' '--enable-ftp' '--enable-wddx' '--with-jpeg-dir=/usr/lib' 

Expected result:
----------------
"Configuration file (php.ini) path: /etc/php.ini"

Actual result:
--------------
"Configuration file (php.ini) path: /etc/httpd/php.ini"

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-10 09:16 UTC] sniper@php.net
Get clean sources of both apache & php, "make clean" might not be enough. Not bug.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 09 07:01:31 2024 UTC