Req #65386 [Com]: [summary] disable_functions / enable_functions / virtualhost...

From: Date: Thu, 19 Jan 2017 17:59:05 +0000
Subject: Req #65386 [Com]: [summary] disable_functions / enable_functions / virtualhost...
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-206746@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65386&edit=1 ID: 65386 Comment by: spam2 at rhsoft dot net Reported by: ben dot rubson at gmail dot com Summary: [summary] disable_functions / enable_functions / virtualhost... Status: Open Type: Feature/Change Request Package: PHP options/info functions PHP Version: 5.6.7 Block user comment: N Private report: N New Comment: oh YES! i wrote a bugreport years ago - one of the problems is/was that phpinfo() even shows the vhost setting but the functions are *not* disabled while suhosin had many years a per-host working param which worked as expected can you also please take a look at https://bugs.php.net/bug.php?id=73921 it's horrible that disabled_functions just lead to a warning where on most servers you have no access and so instead of notice that something don't run it should throw a exception which can be handeled properly Previous Comments: ------------------------------------------------------------------------ [2017-01-19 11:26:22] ben dot rubson at gmail dot com Thank you cmb for your suggestion. I then just opened a discussion : http://marc.info/?l=php-internals&m=148482478815431&w=2 ------------------------------------------------------------------------ [2017-01-13 12:31:06] cmb@php.net It seems to me that those changes would require at least some discussion on the internals mailing list, and perhaps even an RFC, see <http://wiki.php.net/rfc/howto>. ------------------------------------------------------------------------ [2015-05-24 17:40:03] ben dot rubson at gmail dot com Hello, Any news about this please ? Thank you ! ------------------------------------------------------------------------ [2014-02-23 17:26:36] ben dot rubson at gmail dot com Hello, Any news about these requests ? - modification of disable_functions to be a PHP_INI_SYSTEM directive ; - implementation of enable_functions as a PHP_INI_SYSTEM directive ; - support of wildcards in these 2 directives. Thank you ! ------------------------------------------------------------------------ [2013-11-20 21:58:23] txyoji at yahoo dot com Also the documentation is not consistent. http://www.php.net/manual/en/ini.core.php#ini.disable-functions At the top of the page, it states the directive is PHP_INI_SYSTEM and at the bottom of the same page, it says its php.ini only. Using php 5.4.21, I've observed that the option can be set per virtual host and will show up in the phpinfo() output, but its only effective if placed in the php.ini My preference would be to have this setting actually work at the PHP_INI_SYSTEM level. ------------------------------------------------------------------------ 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 https://bugs.php.net/bug.php?id=65386 -- Edit this bug report at https://bugs.php.net/bug.php?id=65386&edit=1

« previous php.bugs (#206746) next »