Configuring Win 7 to process PHP scripts embedded in .html pages? [Answered]RSS

1 reply

Last post Jan 13, 2015 09:08 PM by Pengzhen Song - MSFT

  • Configuring Win 7 to process PHP scripts embedded in .html pages?

    Jan 12, 2015 08:15 PM|jonsblog|LINK

    Because a hard-coded commercial program on my Win 7 IIS server uses a page with an .html extension (which I cannot change), I need to configure Windows 7 IIS to process my PHP script embedded within it.  How do I do that? (Both IIS and PHP are otherwise working perfectly).

    I've spent a couple hours digging around in the Win 7 IIS configuration console trying to discover how it recognizes a ".php" extension, so that I can also tell it to do the same thing with ".html", but to no avail.  I've found several explanations for doing this with Apache on Windows and with previous versions of Windows IIS, but apparently the Win 7 IIS console is so different from previous versions that such explanations simply can't work.  A step-by-step will be appreciated.

  • Re: Configuring Win 7 to process PHP scripts embedded in .html pages?

    Jan 13, 2015 09:08 PM|Pengzhen Song - MSFT|LINK

    Hi,

    You can try adding handler mapping *.php and *.html to fastcgi. For more information, please refer to the tutorial:

    http://www.iis.net/learn/application-frameworks/install-and-configure-php-applications-on-iis/using-fastcgi-to-host-php-applications-on-iis

    #install php and management:

    http://ask.amoeba.co.in/installingsetting-up-php-on-windows-7-with-iis7-and-php-manager/

    We are trying to better understand customer views on social support experience. Click HERE to participate the survey.
    Thanks!