PHP 4.0 Bug #8869 Updated: phpinfo() returns incorrect Configuration File Path

From: Date: Thu, 29 Mar 2001 10:56:15 +0000
Subject: PHP 4.0 Bug #8869 Updated: phpinfo() returns incorrect Configuration File Path
Groups: php.dev 
Request: Send a blank email to php-dev+get-50197@lists.php.net to get a copy of this message
ID: 8869 Updated by: stas Reported By: shawn.a.clifford@lmco.com Old-Status: Open Status: Feedback Bug Type: *Function Specific Assigned To: Comments: 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? Previous Comments: --------------------------------------------------------------------------- [2001-01-23 13:52:02] shawn.a.clifford@lmco.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. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=8869&edit=2

« previous php.dev (#50197) next »