#35631 [Opn->Bgs]: No bundled php.ini file?
ID: 35631
Updated by: sniper@php.net
Reported By: amol at hatwar dot org
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Debian GNU/Linux 3.1
PHP Version: 5.1.1
New Comment:
The "bundled" file is in the source package. It's never installed
unless you copy it in place.
The files are php.ini-dist and php.ini-recommended
Previous Comments:
------------------------------------------------------------------------
[2005-12-11 15:17:22] amol at hatwar dot org
Description:
------------
I searched the sources and the compiled binaries for the php.ini config
file, but couldn't find any bundled. The command I used for doing this
was:
find /usr/local/src/php -iname php.ini* <-- For the Sources
find /usr/local/php5 -iname php.ini* <-- For the Binaries
The phpinfo() function output reports that the path for the php.ini
file is /usr/local/php5/lib. The file is non-existent there.
I compiled PHP 5.1.1 with Apache 2.0.55. The configure string I used
was:
./configure --prefix=/usr/local/php5
--with-apxs2=/usr/local/apache/bin/apxs --enable-debug --with-openssl
--with-kerberos --with-curl --with-curlwrappers --with-db4 --with-cdb
--with-gd --with-imap --with-imap-ssl --with-ldap=/usr/local/openldap
--with-ldap-sasl --with-mhash --with-mcrypt
--with-mysqli=/usr/local/mysql5/bin/mysql_config --enable-soap
--enable-wddx --with-xmlrpc --with-xsl --with-mysql=/usr/local/mysql5
--enable-ftp --with-jpeg-dir=/usr/lib --with-zlib-dir=/usr/lib
--enable-maintainer-zts
The unbundled php.ini is a bug or a feature, or am I doing something
wrong?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35631&edit=1
Thread (2 messages)