Print

Print


I followed the instructions at the URL below and PHP works fine.  The second
URL is for installing WordPress.

 

http://www.trainsignaltraining.com/iis-7-install-fastcgi-php/2008-09-04/ 

 

http://www.trainsignaltraining.com/installing-wordpress-on-iis7/2008-10-06/

 

 

Laurence 

 

  _____  

From: Ehren Benson [mailto:[log in to unmask]] 
Sent: Monday, July 12, 2010 10:01 AM
To: [log in to unmask]
Subject: [MSUNAG] PHP on IIS 7.5 (Server 2008 R2)

 

Hey,

 

So I seem to run into this all the time.. What is the best way to get php
working on IIS 7.5?  Every dang time I try to set up a IIS webserver for php
it is like pulling teeth to get it to work for some reason.  All the sets of
instructions and such I have read seem extremely clear and simple and make
it sound like a no brainer to get it going.however it never seems to work!
The one in particular I am trying to set up right now I used these
instructions.
http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on
-iis-7/ using FastCGI.  As far as I know the instructions for IIS7 are the
same on 7.5.

 

I just went in on the server to try something and came across something that
mentioned that on a x64 system you need to configure app pools ot run in x86
mode (since PHP is x86.... couldnt seem to find a x64 version)... so
thinking... AHAA!!  I tried it but it was much less exciting than I expected
because it still didnt work.  In IIS Mangler, I mean...Manager... I
highligted app pools and in the actions pane clicked set application pool
defaults, set the enable 32 bit setting to true....for good measure I even
set this on each individual app pool also.  No dice.

 

I cant believe this is so difficult...or I am so stupid to not be able to
easily get this seemingly simple thing off the ground!

 

Does anyone have any ideas??  I am at a loss!

 

here is the error I am getting relating to FastCGI...

 


HTTP Error 500.0 - Internal Server Error


C:\PHP\php-cgi.exe - The FastCGI process exited unexpectedly


Module

FastCgiModule


Notification

ExecuteRequestHandler


Handler

PHP via FastCGI


Error Code

0x000000ff

 


Requested URL

http://localhost:80/test.php


Physical Path

C:\inetpub\wwwroot\test.php


Logon Method

Anonymous


Logon User

Anonymous

 

 

 

Ehren J. Benson, MCSE

Windows Systems Administrator

Department of Physics and Astronomy

Michigan State University

1209 A Biomed Phys Sci

 

 <mailto:[log in to unmask]> [log in to unmask]

517-884-5469