ID: 47809
Updated by: [email protected]
Reported By: privat at timohummel dot com
-Status: Open
+Status: Feedback
Bug Type: PHP options/info functions
Operating System: Gentoo
PHP Version: 5.3.0RC1
Assigned To: pajoye
New Comment:
To make this a bit simpler, delete that file and create one with only
this:
include_path = "foo/bar"
Then check what phpinfo() says in apache about the include_path.
Note: this works fine for me..
Also, your configure line is kinda odd. Using --disable-all and only
enabling what you really need would make the line quite more
readable..
Previous Comments:
------------------------------------------------------------------------
[2009-03-30 18:53:47] privat at timohummel dot com
It is the stock php.ini-development file, where I tried to set the
default timezone to "Europe/Berlin". As it didn't work, I reverted my
change of the timezone and tried modifying other values, for example,
the error reporting and also simple values like "precision". None of my
changes were shown after a restart of apache using the phpinfo()-call.
As I said before, changes are accepted when using the cli sapi.
------------------------------------------------------------------------
[2009-03-30 18:07:19] [email protected]
What exactly is in that file?
------------------------------------------------------------------------
[2009-03-27 19:02:25] privat at timohummel dot com
I just ran apache with strace to make sure that the php.ini file is
actually opened. It is opened, but I'm not sure how to debug if the
values are getting parsed and probably overwritten later or if the
values in the php.ini file are silently ignored.
------------------------------------------------------------------------
[2009-03-27 16:11:27] privat at timohummel dot com
I rebuilt PHP from the CVS, snapshot
http://snaps.php.net/php5.3-200903271530.tar.bz2 (latest snapshot
currently available). The issue remains, all php.ini-entries are ignored
silently when using the apache2 SAPI.
Oddly enough, the CLI SAPI works fine and reads the config file as
expected.
Here's my configure line:
'./configure' '--prefix=/usr/lib64/php5' '--host=x86_64-pc-linux-gnu'
'--mandir=/usr/lib64/php5/man' '--infodir=/usr/lib64/php5/info'
'--sysconfdir=/etc' '--cache-file=./config.cache' '--with-libdir=lib64'
'--disable-cli' '--with-apxs2=/usr/sbin/apxs2' '--disable-cgi'
'--with-config-file-path=/etc/php/apache2-php5'
'--with-config-file-scan-dir=/etc/php/apache2-php5/ext-active'
'--without-pear' '--disable-bcmath' '--with-bz2' '--disable-calendar'
'--with-curl' '--without-curlwrappers' '--disable-dbase'
'--disable-exif' '--without-fbsql' '--disable-fileinfo' '--enable-ftp'
'--with-gettext' '--with-gmp' '--disable-hash' '--without-kerberos'
'--enable-mbstring' '--with-mcrypt' '--without-mhash' '--without-msql'
'--without-mssql' '--with-openssl' '--with-openssl-dir=/usr'
'--disable-pcntl' '--with-pgsql' '--disable-posix' '--with-pspell'
'--without-recode' '--disable-simplexml' '--disable-shmop' '--with-snmp'
'--enable-soap' '--disable-sockets' '--without-sybase-ct'
'--disable-sysvmsg' '--disable-sysvsem' '--disable-sysvshm'
'--with-tidy' '--enable-wddx' '--disable-xmlreader'
'--disable-xmlwriter' '--with-xmlrpc' '--with-xsl' '--enable-zip'
'--with-zlib' '--disable-debug' '--enable-dba' '--without-cdb'
'--with-db4' '--disable-flatfile' '--with-gdbm' '--disable-inifile'
'--without-qdbm' '--with-freetype-dir=/usr' '--with-t1lib=/usr'
'--disable-gd-jis-conv' '--with-jpeg-dir=/usr' '--with-png-dir=/usr'
'--with-xpm-dir=/usr' '--with-gd' '--with-imap' '--with-imap-ssl'
'--with-mysql=/usr' '--with-mysql-sock=/var/run/mysqld/mysqld.sock'
'--with-mysqli=/usr/bin/mysql_config' '--without-pdo-dblib'
'--with-pdo-mysql=/usr' '--without-pdo-odbc' '--with-pdo-pgsql'
'--with-pdo-sqlite=/usr' '--with-readline' '--without-libedit'
'--without-mm' '--with-sqlite=/usr' '--enable-sqlite-utf8'
'--with-sqlite3'
------------------------------------------------------------------------
[2009-03-27 15:06:54] [email protected]
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/47809
--
Edit this bug report at http://bugs.php.net/?id=47809&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.