Req #65386 [Com]: [summary] disable_functions / enable_functions / virtualhost...
| From: | txyoji at yahoo dot com | Date: | Wed, 20 Nov 2013 21:58:23 +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-182872@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: txyoji at yahoo dot com
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.4.17
Block user comment: N
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
[2013-08-03 15:55:54] ben dot rubson at gmail dot com
Related To: Bug #54239
------------------------------------------------------------------------
[2013-08-03 15:55:43] ben dot rubson at gmail dot com
Related To: Bug #52325
------------------------------------------------------------------------
[2013-08-03 15:55:31] ben dot rubson at gmail dot com
Related To: Bug #13833
------------------------------------------------------------------------
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