php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8869 phpinfo() returns incorrect Configuration File Path
Submitted: 2001-01-23 13:52 UTC Modified: 2001-04-28 15:36 UTC
From: shawn dot a dot clifford at lmco dot com Assigned:
Status: Closed Package: *Function Specific
PHP Version: 4.0.4pl1 OS: HP-UX 10.20
Private report: No CVE-ID: None
 [2001-01-23 13:52 UTC] shawn dot a dot clifford at lmco dot com
The output from phpinfo() returns:

PHP Version 4.0.4pl1
System                                    HP-UX snake16 B.10.20 A 9000/720 2009850626 two-user license
Build Date                                Jan 23 2001
Configure Command                 './configure' '--prefix=/opt/apache' '--with-apache=../apache_1.3.14'
                                               '--enable-track-vars'
Server API                                Apache
Virtual Directory Support            disabled
Configuration File (php.ini)         /usr/local/lib
    Path

But the php.ini file is actually in ${PREFIX}/lib (/opt/apache/lib), and PHP is successfully starting up with the .ini file in this directory.  The Configuration File Path output should be updated with the contents of PREFIX.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-29 05:56 UTC] stas@php.net
Are you sure PHP is indeed reading this file? PHP is able to
work without any php.ini, so it running is not a proof it
actually reads this file. Could you do strace (or whatever
it is called on HPUX) and see if it indeed uses the said file?
 [2001-04-28 15:36 UTC] derick@php.net
No feedback. If this problem persists with PHP 4.0.5 which
will be released next week, please reopen this report.

Derick
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Dec 11 16:01:28 2024 UTC