Edit report at https://bugs.php.net/bug.php?id=24702&edit=1
ID: 24702
Comment by: ben dot rubson at gmail dot com
Reported by: philip at cornado dot com
Summary: disable_functions + httpd.conf should not set value
Status: Open
Type: Feature/Change Request
Package: Feature/Change Request
Operating System: linux
PHP Version: 4.3.3RC1
Block user comment: N
Private report: N
New Comment:
See summary bug #65386
Previous Comments:
------------------------------------------------------------------------
[2004-02-03 07:27:55] anonymous at internet dot com
same problem in version 4.3.4 (final).
------------------------------------------------------------------------
[2003-07-18 03:24:13] philip at cornado dot com
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 this bug report at https://bugs.php.net/bug.php?id=24702&edit=1