Partner and Community Forums
IIS PHP5 vHost configuration
Last post Jul 14, 2008 06:15 PM by ruslany
Jul 02, 2008 01:27 PM|zealot2k|LINK
i googled for quite some time now and it seems there are limitless sollutions for individual php configurations for vhosts using apache, but for IIS there is nothing to be found -.-
I own a Windows 2003 64bit Rootserver with several domains already working. PHP5 is also working fine, but i'm unable to find a way to configure local settings for different vhosts, only global settings exist.
So: (How) can PHP-vhost-configuration be done? i've read about writing php-flags directly into the windows registry, but this sollution seems to be limited.
Jul 02, 2008 03:40 PM|Alex.W474|LINK
In the C:\WINDOWS\system32\inetsrv\fcgiext.ini you can create different configurations per site:
Jul 02, 2008 05:18 PM|zealot2k|LINK
does this include php-flags / php_values like safemode or magic_quotes_gpc?
Jul 02, 2008 06:28 PM|ruslany|LINK
A possible way of providing per-site PHP configuration on IIS 7.0 is described here:
Jul 02, 2008 08:37 PM|Alex.W474|LINK
> does this include php-flags / php_values like safemode or magic_quotes_gpc
For IIS 5.1, 6.0 FastCGI handler and IIS 7.0 FastCGI module.
Jul 02, 2008 10:22 PM|brashquido|LINK
If you are using PHP ISAPI, have a look at my article on
setting per directory PHP configuration values on my website. Personally, I'd recommend using the FastCGI method as there are some limitations doing this with ISAPI.
Jul 14, 2008 06:15 PM|ruslany|LINK
blog post explains how to configure FastCGI/PHP on IIS 6.0 to enable per-site PHP configuration.