Re: PHP 5 / IIS 7 / Vista

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

 



And this can also be done by creating a file caled web.config in the
directory where you want php support. The vile should look like this:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <handlers>
            <add name="PHP" path="*.php" verb="*" modules="CgiModule"
scriptProcessor="c:\php5\php-cgi.exe" resourceType="File" />
        </handlers>
        <defaultDocument>
            <files>
                <clear />
                <add value="index.html" />
                <add value="index.php" />
            </files>
        </defaultDocument>
    </system.webServer>
</configuration>

- Frank

> Works almost like PHP5 on XP or Windows 2003 with IIS5/6
> 
> 1) Copy php to a directory (c:\php5)
> 2) Start the IIS manager and create a site or virtual directory
> 3) Add a script mapping for .php to point to php-cgi.exe or
php5isapi.dll
> 
> That's it.
> 
> - Frank
> 
> > Anybody got PHP 5 running with IIS 7 on Windows Vista?
> > 
> >  
> > 
> > If so, do you have a walk-through on how to do it or give me
directions
> on
> > how to do it?
> > 
> >  
> > 
> > Kind Regards,
> > 
> > Dale
> > 
> > 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux