« Previous Next »

Thread: Web Platform Installer will not install PHP

Last post 08-03-2009 2:05 PM by pabloweyne. 7 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (8 items)

Sort Posts:

  • 07-31-2009, 8:49 AM

    • MorDog
    • Not Ranked
    • Joined on 07-31-2009, 12:36 PM
    • Posts 4

    Web Platform Installer will not install PHP

    Hello People

    I am hoping somebody will be able to help me here. I have been for the last 2 days trying to install PHP onto IIS7 via the web platform installer.

    I selected the option from the list to install PHP which it said it had done and also selected CGI from 1 of the options also.

    I know it seems to be there as I get an error message  when trying to run the phpinfo script saying:

    Server Error in Application "DEFAULT WEB SITE"

    HTTP Error 500.0 - Internal Server Error

    An unknown FastCGI error occured

    Module FastCgiModule
    Notification ExecuteRequestHandler
    Handler PHP_via_FastCGI
    Error Code 0x8007010b

    Requested URL http://localhost:80/testPHP/index.php
    Physical Path C:\testPHP\index.php
    Logon Method Anonymous
    Logon User Anonymous

     

    I have also tried following some video tutorials online but I still keep getting this error?

    Can anybody help me out with this please? I am using Vista Home premium which should work ok.

     

    Many Thanks

  • 07-31-2009, 12:35 PM In reply to

    Re: Web Platform Installer will not install PHP

    Can you run the command:

    C:\Program files\PHP\php-cgi.exe -v

    from command line and see what error your are getting. Please let us know about that.

    I am assuming that your %PROGRAMFILES% is mapped to to C:\Program Files and that you are running Vista on x86 architecture. If not change the command appropriately. Ideally I would like you to run php-cgi.exe -v and send us the output.

    Thanks,

    Don.

  • 07-31-2009, 1:26 PM In reply to

    • MorDog
    • Not Ranked
    • Joined on 07-31-2009, 12:36 PM
    • Posts 4

    Re: Web Platform Installer will not install PHP

    Hi Don

    Thanks for the reply. I have currently uninstalled and reinstalled it. I am using x86 and it is mapped within my program files folder.

    I am getting a new error saying:

    HTTP Error 500.0 - Internal Server Error

    <handler> scriptProcessor could not be found in <fastCGI> application configuration

    Module FastCgiModule
    Notification ExecuteRequestHandler
    Handler PHP_via_FastCGI
    Error Code 0x80070585

    Requested URL http://localhost:80/testPHP/index.php
    Physical Path C:\testPHP\index.php
    Logon Method Anonymous
    Logon User Anonymous

    I also ran the command C:\Program files\PHP\php-cgi.exe -v and got a pop up saying unable to locate component.

    "This application has failed to start because ntwdblib.dll was not found. Re-installing the application may fix the problem."

     

     

  • 07-31-2009, 1:46 PM In reply to

    Re: Web Platform Installer will not install PHP

    Hi,

    Let's forget about ScriptProcessor error for the time being. Do the following:

    • Open the PHP.INI file in an editor (the file will be in the same directory as php-cgi.exe)
    • Near the bottom you will find lines something like:

    [PHP_MSSQL]

    extension=php_mssql.dll.

    • Uncomment/delete these two lines.
    • Run the php-cgi.exe -v command again. Hopefully it will work now.
    • Now run your phpinfo test again.

    Hopefully you will be all set.

    If you are still getting the ScriptProcessor error, this means youe applicationHost.config is wrong. You can uninstall PHP and reinstall it using WEBPI and then follow the above steps of removing MSSQL entry from the INI file and you will be all set.

    Thanks,

    Don.

     
  • 07-31-2009, 2:15 PM In reply to

    • MorDog
    • Not Ranked
    • Joined on 07-31-2009, 12:36 PM
    • Posts 4

    Re: Web Platform Installer will not install PHP

    Hi Don

    I had done as you have advised and I still seem to be getting the:

    HTTP Error 500.0 - Internal Server Error

    <handler> scriptProcessor could not be found in <fastCGI> application configuration

    Do you think you would be able to IM me at morris.andy@live.co.uk and possibly discuss further? Maybe even have a look over team viewer?

    Thanks

    Andrew

  • 07-31-2009, 3:32 PM In reply to

    Re: Web Platform Installer will not install PHP

    Is the command line working? Let's work on it offline. Please mail me at dondotramanatmicrosoftdotcom.

    Thanks,

    Don.

  • 08-03-2009, 5:33 AM In reply to

    • MorDog
    • Not Ranked
    • Joined on 07-31-2009, 12:36 PM
    • Posts 4

    Re: Web Platform Installer will not install PHP

    Ok after much frustration Don and I have managed to get PHP installed on IIS7 using FastCGI. I installed it manually and had to give up on the Web Platform Installer. The Platform Installer would install PHP and set up FastCGI within handler mappings in the IIS Manager but for some reason when going to test phpinfo in browser, it would come up with some FastCGI error.

    Personally I would recommend  who receives the <handler> scriptProcessor could not be found in <fastCGI> application configuration error to manually install PHP.

    This guide was very good when doing this

    http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis-70/

     

     

  • 08-03-2009, 2:05 PM In reply to

    Re: Web Platform Installer will not install PHP

    How do to install PHP PEAR in the Web 2.0 Platform?
    Pablo Weyne
Page 1 of 1 (8 items)
Microsoft Communities