From: philip at cornado dot com
Operating system: linux
PHP version: 4.3.3RC1
PHP Bug Type: PHP options/info functions
Bug description: disable_functions + httpd.conf should not set value
Description:
------------
As we all know, setting disable_functions and disable_classes is not
possible in httpd.conf as they are special case PHP_INI_SYSTEM directives,
but doing so still emits a local value even knowing it has no meaning. In
otherwords, setting disable_* in httpd.conf should not affect the local
ini value as it does currently.
Note: As expected, setting via ini_set() or .htaccess does not affect the
value.
Reproduce code:
---------------
In httpd.conf:
php_admin_value disable_functions "mail"
PHP:
echo ini_get('disable_functions');
Expected result:
----------------
no value
Actual result:
--------------
mail
--
Edit bug report at http://bugs.php.net/?id=24702&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24702&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24702&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=24702&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24702&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24702&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24702&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24702&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24702&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24702&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24702&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24702&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24702&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24702&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24702&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24702&r=gnused