Re: two php.ini on the same server

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

 



phpdevster wrote:
> Hi
> 
> i am trying to run two Apache server on the same machine and that is work
> fine
> 
> but the problem is how to create separate php.ini for each Apache server .
> is that possible ??

It would be easy to do with a chrooted setup, but I'm sure there are
other ways too.

Also, depending on what differences you need to make, you can perhaps
use the apache directives php_value and php_flag etc. to override the
necessary php.ini settings for your second httpd. This would not always
work tho' (for example if you need to tweak the enabled extensions etc.).

This will also only work if you are using PHP as a module, and not as CGI.

Col.

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