Req #24702 [Opn->Csd]: disable_functions + httpd.conf should not set value

From: Date: Sun, 08 Jan 2017 06:27:28 +0000
Subject: Req #24702 [Opn->Csd]: disable_functions + httpd.conf should not set value
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-206386@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=24702&edit=1

 ID:                 24702
 Updated by:         krakjoe@php.net
 Reported by:        philip at cornado dot com
 Summary:            disable_functions + httpd.conf should not set value
-Status:             Open
+Status:             Closed
 Type:               Feature/Change Request
-Package:            Feature/Change Request
+Package:            *General Issues
 Operating System:   linux
 PHP Version:        4.3.3RC1
-Assigned To:        
+Assigned To:        krakjoe
 Block user comment: N
 Private report:     N

 New Comment:

Since this concerns an ancient version of PHP, and since this has never generated a decent
conversation, there is obviously no appetite for this change.

Closing.


Previous Comments:
------------------------------------------------------------------------
[2013-08-03 15:54:48] ben dot rubson at gmail dot com

See summary bug #65386

------------------------------------------------------------------------
[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


Thread (4 messages)

« previous php.bugs (#206386) next »