Re: disable_functions per vhost on apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eduardo M. Bragatto wrote:
Hi folks,

according to this old message [http://www.mail-archive.com/php-general@xxxxxxxxxxxxx/msg87293.html] it's not possible to use "php_value disable_functions" on Apache's vhost.
Since this message is two years old I would like to know if it's still being true.

Yes, it's still true, as this value can only be set in the php.ini file. http://us4.php.net/manual/en/features.safe-mode.php#ini.disable-functions

I have to allow system() for my control center script but I don't want my users to use it.
How can I do it?

You'd have to run two instances of Apache, with a seperate php.ini for each version. One for the vhosts with the functions disabled, and the other for your control center. Unless someone knows of a way to use different ini's per vhost.


Sucks, but it's about the best you could do.

--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
john@xxxxxxxxxxxx

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux