#24347 [Opn->Asn]: disable_functions don't work in vhost
| From: | philip@php.net | Date: | Thu, 26 Jun 2003 17:05:28 +0000 |
| Subject: | #24347 [Opn->Asn]: disable_functions don't work in vhost | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969354876@lists.php.net to get a copy of this message | ||
ID: 24347
Updated by: philip@php.net
Reported By: picklezz at hotmail dot com
-Status: Open
+Status: Assigned
Bug Type: Documentation problem
Operating System: FreeBSD 4.8
PHP Version: 4.3.2
-Assigned To:
+Assigned To: jmcastagnetto
New Comment:
It's documented here:
http://www.php.net/manual/en/features.safe-mode.php#ini.disable-functions
The ini_set table is autogenerated and this is indeed PHP_INI_SYSTEM.
There is another bug report on adding a description column and such to
that table, and one to even move that table out of ini_set docs (as it
doesn't belong there).
Will leave this open until the move is complete, and a note is added to
the new docs on this special case (along with disable_classes).
Assigning to jmcastignatto.
Previous Comments:
------------------------------------------------------------------------
[2003-06-26 11:52:50] sniper@php.net
Another documentation problem, disable_functions is a bit special..
------------------------------------------------------------------------
[2003-06-26 11:47:00] picklezz at hotmail dot com
Well look at the ini_set page and you see that it is supposed to work.
------------------------------------------------------------------------
[2003-06-26 11:44:51] sniper@php.net
RTFM, it's not even supposed to work.
------------------------------------------------------------------------
[2003-06-26 11:41:07] picklezz at hotmail dot com
Description:
------------
<VirtualHost *>
DocumentRoot /www/www.example.net
ServerName www.example.net
ServerAlias example.net www.example.net
php_admin_value open_basedir /www/www.example.net
ErrorLog /www/log/www.example.net-error_log
CustomLog /www/log/www.example.net-access_log common
CustomLog /www/log/www.example.net-combined.log combined
php_admin_value disable_functions mysql_pconnect
</VirtualHost>
This doesn't disable mysql_pconnect(), but if I put disable_functions =
mysql_pconnect in php.ini it works...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24347&edit=1