I've read your iis6 install sticky, and think I have tried that here except for web extensions, which don't apply to iis5.1. Any help would be greatly appreciated:
Win XP, iis5.1
Installing PHP 5.2.5 only needing ISAPI (scripts through browser), no extensions.
Manual install using downloaded .zip.
I must be missing something. I’ve been trying on and off for days, but keep getting 404 (file not found) error:
Tested c:\php\php –I, and it successfully lists tons of settings.
Can see all my html files properly when browsing to localhost, but get 404 when I try a simple index.php test file with content = <?php phpinfo(); ?>
Phpfiles and folders live under c:\php: including php.exe, php.ini, and php5isapi.dll.
Added system environment variable PHPRC = c:\php
Added c:\php to windows path.
Copied php.ini-recommended to php.ini and modified the following:
display_errors = On
user_dir = (should this be something?)
doc_root "c:\inetpub\wwwroot"
extensions_dir "c:\php\ext"
Did NOT set cgi.force_redirect to 0, because not using CGI, nor CLI.
Modified following in iis 5.1:
Under home directory still only have “read access” enabled.
Execute permissions is “scripts only”.
Mappings: enabled “cache ISAPI applications”
Application Mappings: added .php extension with executable php5isapi.dll, enabled “ALL” verbs, “SCRIPT ENGINE”, and disabled “CHECK THAT FILE EXISTS”.
Added ISAPI filter PHP with value c:\php\php5isapi.dll (pretty sure I don’t need to do this because not doing HTTP authentication).
Documents: added index.php, but typing in full path anyway right now to test.
Did NOT add a new web service extension, because my iis is pre-6 version.
Added WRITE and MODIFY (do I need the latter?) permissions for IUSER_... for website folder and c:\php\ folder.
Turned off simple file sharing.
Have NOT done the following because I don’t know where to do these things:
Set permissions on C:\PHP that it inherits to the folders/files within that directory (not sure where I would do this, so haven’t)
Sorry if I've forgotten important steps I've taken.
Any help would be greatly appreciated. Had php (probably older version) running (with mysql) last year, but rebuilt computer (with same OS/iis versions) and haven’t needed to develop php files again until now.