« Previous Next »

Thread: PHP not working after installation with Web Platform Installer

Last post 06-22-2009 9:49 AM by stoem. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 06-18-2009, 11:02 AM

    • stoem
    • Not Ranked
    • Joined on 06-18-2009, 10:58 AM
    • Posts 2

    PHP not working after installation with Web Platform Installer

     Hi all,

    Hoping to find some help here. I've installed PHP using the Web Platform Installer BEta 2 on Windows Server 2003. The machine is running IIS6. I believe it's using FastCGI (not sure, the installer didn't make clear what exactly it was doing).

    If I now hit a PHP page I get a 404, for example:
    http://web.okaygo.co.uk/phpinfo.php

    The page is of course there, if I rename it to .htm it can be found. I assume IIS does not know how to process PHP files and I need to tell it what to do - but I am not sure where and how. I assume the Web Platform Installer *Should* have configured existing IIS sites for me, but doesn't seem to have done so.

    To add: I didn't install anything else apart from PHP and the MySQL connector (which I'm not sure I need). Before the installer would run I had to install the .NET framework first. I have rebooted the server in the meantime, and also uninstalled PHP, then reinstalled using the platform installer. Same result unfortunately, I get no obvious errors but PHP pages are not being processed.

    Any advice appreciated.

    Cheers

    Stefan



     

  • 06-18-2009, 12:15 PM In reply to

    • richma
    • Top 25 Contributor
    • Joined on 04-06-2009, 12:10 PM
    • Posts 374

    Re: PHP not working after installation with Web Platform Installer

    Check the following

    a) Under Web Service Extensions verify that  "FastCgi Handler"  is present and set to Allowed.

    b) Under the properties of the web site go to the Home Directory Tab. Click Configuration and under the mappings tab see if ".php"  is listed. If not click ADD .  In the Executable "c:\windows\system32\inetsrv\fcgiext.dll" and in Extension  enter ".php"  and click Ok.

     

  • 06-22-2009, 9:49 AM In reply to

    • stoem
    • Not Ranked
    • Joined on 06-18-2009, 10:58 AM
    • Posts 2

    Re: PHP not working after installation with Web Platform Installer

    Many thanks, PHP seems to run ok now. Looks like the path to fcgiext.dll was missing.

     

Page 1 of 1 (3 items)
Microsoft Communities