You can override parts of your php.ini on a per-directory level with a
.htaccess file...

eg:

<IfModule mod_php4.c>
    php_flag register_globals off
    php_flag magic_quotes_gpc on
    php_flag magic_quotes_runtime on
    php_flag magic_quotes_sybase on
</IfModule>


Justin French



on 20/01/03 2:14 PM, Jean-Christian Imbeault ([EMAIL PROTECTED]) wrote:

> 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
> 


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

Reply via email to