ID: 6982 Updated by: [EMAIL PROTECTED] Reported By: kirill at mns dot ru -Status: Open +Status: Wont fix Bug Type: Feature/Change Request Operating System: Linux 2.2.16 PHP Version: 4.0.2
Previous Comments: ------------------------------------------------------------------------ [2002-01-11 14:37:03] [EMAIL PROTECTED] Due to the current internal architecture it would be a performance killer to populate the list of functions on a per-request basis. That's why disabling functions is only available at startup (ie. in php.ini) which means we only have to build this list once. You will need to run different classes of Apache/PHP instances if you need different sets of functions available for different virtualhosts. ------------------------------------------------------------------------ [2002-01-11 13:54:00] charmaine dot tian at contec-innovations dot com 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. ------------------------------------------------------------------------ [2001-03-06 06:59:17] [EMAIL PROTECTED] 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-10-02 23:28:52] kirill at mns dot 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
