Okay, I tried it again today. Here are all of my exact steps:
I cleaned my PC from PHP, IIS en Apache and anything similar.
I then made sure that no other application was attempting to use port 80, but I'm not sure if I succeeded here. Either way, I couldn't find any.
Installed IIS from the Windows CD now.
Checked to made sure that both "IIS Admin Service" and "World Wide Web Publishing Service" were running. Both were on automatic and had started.
At this point, HTML pages are working in both Internet Explorer and FireFox.
I then proceeded to install PHP. Downloaded the package, extracted in to C:\php. Copied ini-recommended to C:\Windows\php.ini and 'php5ts.dll' to C:\Windows\System32.
Then I added an ISAPI filter on my default website, namely 'php5isapi.dll', as '.php'.
I restarted my website and noticed that it said 'Not Loaded'. Obviously, PHP wasn't working.
I continued to following my guide and added 'php5isapi.dll' as '.php' under Home Directy > Configuration as well.
Also, I added 'default.php' under Documents.
HTML is still working in both browsers, PHP is producing a 404 (probably because of it not being loaded, still.)
Finally I added 'php5isapi.dll' to Web Service Extensions, setting it to 'Allowed'.
Now, HTML is still working, however, PHP is no longer producing a 404 error. It's still Not Loaded, however, I got the error message '%1 is not a valid Win32 application.'
After googling, found the solution to be to add quotation marks around the service that produced the error.
Unsure which service was producing the error, I checked the following and added quotation marks:
- IISADMIN
- World Wide Web Publishing Service
Strangely, I couldn't find the 2nd one in my registry.
I checked my Services again and found that both IIS Admin and WWWPS were both on automatic and currently running.
Searching some more, I found this solution:
Run the following commands in CMD, enabling ASP.NET 2.0 64-bit version
cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 0
%SYSTEMROOT%\Microsoft.NET\Framework64\v2.0.50727\aspnet_regiis.exe -i
Then Allow ASP in IIS Web Service Extension list.
This set my back to my first problem - the 404 error in my first post.
I'm very confused now, hopefully this description of my steps sheds some light on the issue.
Thanks again in advance!