Re: php.ini: how to load different ini file depending on host?

From: Date: Mon, 20 Jan 2003 03:14:53 +0000
Subject: Re: php.ini: how to load different ini file depending on host?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-132202@lists.php.net to get a copy of this message
Timothy Hitchens ) wrote:
Inside each of the Virtual Host defs you can put most of the php_flag etc settings just like:
Oops .. I forgot to mention that these two website do *not* have different IP addresses. Actually these are two testing website on my local LAN. What I have is to have a different php.ini loaded depending on wether the user goes to: http://192.168.254.1/test1 or http://192.168.254.1/test2 I had read up on the Virtual Host directives put it didn't seem to be applicable ... Could I do the same thing you suggested using the apache <Directory> directive? Thanks, Jc

« previous php.general (#132202) next »