Re: Each site with its php.ini?

From: Date: Thu, 11 Jan 2001 07:01:19 +0000
Subject: Re: Each site with its php.ini?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-33923@lists.php.net to get a copy of this message
> Hi. Does anybody knows how to have different configuration options, that is, > different php.ini files, for several different sites that reside on the same > server? > I have IIS and the CGI version of PHP 4.04. Hmmmm... I dunno how IIS does Virtual Hosting, but maybe you could have a different php.exe in a different directory for each site, and a different php.ini sitting next to each php.exe... IE: C:/ /InetPub /site1 /site2 /php /site1 /php.exe /php.ini /site2 /php.exe /php.ini You'll somehow need to convince IIS to use the two differing copies of php.exe, and they'll snag the php.ini sitting next to themselves. Just be sure you don't have php.ini in your Windows and System folders or anywhere else. No promise this will work, even if you convince IIS to run the two different php.exe... but it should if you get that far.

« previous php.general (#33923) next »