404 As I have already wrote, you can use Web Platform Installer to turn home server into full-blown web server. WPI 2.0 comes with whole bunch of .NET and PHP applications for you to pick from. Not surprisingly, ASP.NET apps run out of the box just fine. But if you select PHP application from the list, you likely to run into situation when installer goes through and reports success, but application itself throws HTTP 404 not found error. The good news is that installer did not lie and PHP/MySQL/web application all installed properly, it just missed one small step and did not configure .PHP extension with IIS. Fortunately, it is pretty easy to fix.

  • Go to IIS manager and navigate to PHP app you just installed
  • Right-click to get to properties and then click "Configuration" on virtual directory tab
  • Click "add" and tell IIS to use Fast CGI DLL when PHP page requested:

Configuration

Lastly, go to Documents tab and add Index.php and move it to the top of the list.

Save, close and if you navigate to PHP application in the browser, all should work fine. It is mildly annoying, but still the easiest way to get up and running PHP on Windows Home Server with IIS.

Share/Save/Bookmark
Signature

Comments

10/3/2009 5:45:14 AM #

Emanuel

Great article! Thanks a lot!

Emanuel | Reply

11/13/2009 9:33:12 AM #

MGD King

I think that Microsoft is definitely on to something with their Web Platform Installer! I used it to install PHP on a Win2K3 Standard Server and it ran as expected. I didn't have the issues that you mentioned and I didn't have to modify any of my settings in IIS. I guess I'm lucky. Smile

MGD King | Reply

11/22/2009 6:24:13 PM #

ernest

unfortunately didnt work for me. went to IIS mgr, right clicked on the wordpress under websites, properties, configuration. when i tried to add the fastcgi.dll for .php, it says this page is already exists, so i just edited on the the existing .php and redirected it to the fastcgi.dll. still no luck though. still getting teh 403 error. thanks the suggestion though

ernest | Reply

2/7/2010 6:26:02 AM #

bambang tri

Didn't work for me either, but I'm getting the 501 error. Still trying to google the way out.

bambang tri | Reply

Add comment

Enter your name, handle, alias, or email.

We'll incarnate your avatar from the services below.

(Will show your Gravatar icon)

  Country flag

biuquoteimgred
  • Comment
  • Preview
Loading



<<  March 2010  >>
SuMoTuWeThFrSa
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910
Enhanced with Snapshots

Subscribe to Rtur.net