Re: enabling PHP functions only on specific virtual hosts

From: Date: Mon, 16 Apr 2001 10:51:44 +0000
Subject: Re: enabling PHP functions only on specific virtual hosts
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-48728@lists.php.net to get a copy of this message
On Mon, Apr 16, 2001 at 12:42:50PM +0200, indrek siitan wrote: > I've coded an additional PHP module, which I want to be a paid > add-on feature to the clients. Is there a way to disable the > module or functions (it contains 2 functions) globally and then > specifically enable them to certain virtual hosts? you can globally disable function with: | disable_functions = in php.ini. For the vhosts, which are allowed to use the functions you can create a special php.ini, which is loadad (afaik) via .htaccess then (I'm not sure on this...remember to have read something like that on this list -> you might want to check the archieve) -fkr -- gpg-fingerprint: 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD3 D9AC 74D0 |http://www.hazardous.org/ | whois -h whois.ripe.de FKR-RIPE | |all your base are belong to us | shame on me | fkr@IRCnet |

« previous php.general (#48728) next »