Req #65386 [Opn]: [summary] disable_functions / enable_functions / virtualhost...
| From: | cmb@php.net | Date: | Fri, 13 Jan 2017 12:31:07 +0000 |
| Subject: | Req #65386 [Opn]: [summary] disable_functions / enable_functions / virtualhost... | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-206595@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
Updated by: cmb@php.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:
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>.
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2013-08-04 10:27:34] ben dot rubson at gmail dot com
Another interesting feature would be the support of wildcards
in disable_functions directive.
To disable the 21 PCNTL functions, instead of having to write :
"disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,..."
We would be able to write :
"disable_functions = pcntl_*"
Thanks !
------------------------------------------------------------------------
[2013-08-03 15:56:12] ben dot rubson at gmail dot com
Related To: Bug #65351
------------------------------------------------------------------------
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