#39274 [NEW]: php.ini not being read

From: Date: Fri, 27 Oct 2006 06:39:02 +0000
Subject: #39274 [NEW]: php.ini not being read
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-104045@lists.php.net to get a copy of this message
From:             campbell at neotext dot ca
Operating system: Fedora Core 6
PHP version:      4.4.4
PHP Bug Type:     *Configuration Issues
Bug description:  php.ini not being read

Description:
------------
PHP 4.4.4 built on Core  6 with 
./configure  --with-apxs2=/usr/local/apache/bin/apxs
--with-mysql=/usr/local/mysql --with-openssl=/usr
--with-zlib-dir=/usr/local/src/mysql-4.1.21/zlib --with-gd
--with-imap=/usr/local/src/imap-2006c --with-imap-ssl=/usr 
--with-config-file-path=/etc/php.ini

Loading this build lib to Apache2.059 on Fedora Core 6
fails to load(find?) the php.ini file anywhere I put it.

Not sure if it's me or a bug yet...

Dhu

Reproduce code:
---------------
change safe_mode=Off to safe_mode=On in php.ini
save, restart apache, run php_info() in a test.php.

Expected result:
----------------
I expect to see safe_mode set to "on"

Actual result:
--------------
I observe safe_mode still set to "off"

Similarly with other parameter defs.

Dhu

-- 
Edit bug report at http://bugs.php.net/?id=39274&edit=1
-- 
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39274&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39274&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39274&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=39274&r=fixedcvs
Fixed in release:             http://bugs.php.net/fix.php?id=39274&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=39274&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=39274&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=39274&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=39274&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=39274&r=notwrong
Not enough info:              http://bugs.php.net/fix.php?id=39274&r=notenoughinfo
Submitted twice:              http://bugs.php.net/fix.php?id=39274&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=39274&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=39274&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=39274&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=39274&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=39274&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=39274&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=39274&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=39274&r=mysqlcfg


Thread (14 messages)

« previous php.bugs (#104045) next »