php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35631 No bundled php.ini file?
Submitted: 2005-12-11 15:17 UTC Modified: 2005-12-11 15:21 UTC
From: amol at hatwar dot org Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.1.1 OS: Debian GNU/Linux 3.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: amol at hatwar dot org
New email:
PHP Version: OS:

 

 [2005-12-11 15:17 UTC] 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?


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-11 15:21 UTC] sniper@php.net
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

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Dec 24 13:00:01 2025 UTC