Bug #6982 Updated: disable_functions option don't works in Apache config
| From: | charmaine dot tian at contec-innovations dot com | Date: | Fri, 11 Jan 2002 18:54:01 +0000 |
| Subject: | Bug #6982 Updated: disable_functions option don't works in Apache config | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-76675@lists.php.net to get a copy of this message | ||
ID: 6982
Comment by: charmaine.tian@contec-innovations.com
Old Reported By: kirill@mns.ru
Reported By: charmaine.tian@contec-innovations.com
Status: Open
Bug Type: Feature/Change Request
Operating System: Linux 2.2.16
PHP Version: 4.0.2
New Comment:
I tried php-4.1.0 on Linux and still have the bug. I don't agree it's
intended behavior. From the PHP online manual, it says:
php_admin_value name value
This sets the value of the specified variable. "Admin" configuration
settings can only be set from within the main Apache configuration
files, and not from .htaccess files.
So user cannot override this via .htaccess files.
Having the directive in php.ini makes it global and same to all the
directories, which is not suitable in our case, because we need to
disable functions on per directory basis.
Previous Comments:
------------------------------------------------------------------------
[2001-03-06 06:59:17] stas@php.net
I guess it's intended - they work only for php.ini,
otheriwse user could easyliy override this with .htaccess,
for example. So this is system-global setting for now.
Moving to RFEs.
------------------------------------------------------------------------
[2000-12-26 09:59:27] kirill@mns.ru
I've tried php 4.0.4 but disable_functions only works from
php.ini, not from apache config.
------------------------------------------------------------------------
[2000-11-27 06:09:32] sniper@php.net
Please try latest snapshot from http://snaps.php.net/
and report back whether this works with it or not.
--Jani
------------------------------------------------------------------------
[2000-10-02 23:28:52] kirill@mns.ru
I'm trying to disable interbase functions for some
directories.
httpd.conf:
<Directory /some/path>
php_admin_value disable_functions 'ibase_pconnect'
</Directory>
But ibase_pconnect still works.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=6982&edit=1