Print

Print


Which files did you use to download and install? Which installer did you use?

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

I figured for the heck of it I should try the installer versus downloading the files and setting it up and that seemed to work.....

Ugh!

Ehren J. Benson, MCSE
Windows Systems Administrator

[log in to unmask]<mailto:[log in to unmask]>
517-884-5469

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

How did you install the PHP version and which version of PHP are you running? We run a couple of PHP sites on IIS 7.5 and have had no problem, even though we have FastCGI enabled.

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

[log in to unmask]<mailto:[log in to unmask]>
517-884-5469