Re: [PHP4BETA] Multiple virtual hosts on IIS

From: Date: Fri, 24 Mar 2000 22:07:41 +0000
Subject: Re: [PHP4BETA] Multiple virtual hosts on IIS
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-12569@lists.php.net to get a copy of this message
Are you using the dll or cgi? You can set the applications (i.e the dll or cgi) for each vitual site separately. The question is how to get different ini's. WIth the cgi (php.exe) there is a command line prompt -c to define where the ini is. You should be able to specific that where you enter the parameters for the application in IIS, but I have not tried it out. It might be alot more difficult with the dll to have different ini files. We were using iis on NT but have since switched to IBM's http server which is basically apache with SSL. Its free and its authentication is alot more flexible than IIS's. But the dll doesn't work well, (also problems with IIS and the dll), so we are using the cgi. > For reasons beyond my control, a site I'm working on will be hosted on NT/IIS > instead of Linux/Apache. One of the things I had been using was Apache's > ability to specify per-site configuration settings to set the PHP include > path for each virtual host. Is there some equivalent configuration option > under IIS? It's trivial to make one site work using the global php.ini but I > need to have several sites with different settings. I don't like the idea of > putting php.ini files in every directory with scripts, and that doesn't seem > to work in any case ("Access violation" or a cpu-chewing inetinfo.exe), > although that may just be the regular php.ini crashes and not a multiple .ini > problem. > > > -- > PHP 4.0 Beta Mailing List <http://www.php.net/version4/> > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net > For additional commands, e-mail: php4beta-help@lists.php.net > To contact the list administrators, e-mail: php4beta-admin@lists.php.net > -------------------------------------------------- Avrum Goodblatt goodblat@sprynet.com (415) 9451368 http://home.sprynet.com/~goodblat

« previous php.version4 (#12569) next »