i used apache2, but think you'll only have to change one line (LoadModule php4_module c:/php/sapi/php4apache2.dll ) of this:
Installing PHP 4.3.2 as a module for Apache2 on Windows XP Pro:
Download_ and extract php-4.3.2-Win32.zip
For more info review "install.txt", namely under:
"Windows Manual installation from zip binary distribution_"
Place or extracted PHP files in C:\PHP\
Copy php.ini-dist into C:\WINDOWS
Rename to php.ini
Edit php.ini:
(this part is only if you want to use GD)
Change line 428:
extension_dir = "./"
to
extension_dir = "C:\PHP\extensions"
Change line 546
;extension=php_gd2.dll
to
extension=php_gd2.dll
(end part only if you want to use GD)
Copy "php4ts.dll" into "C:\Program Files\Apache Group\Apache2\bin"
(where Apache.exe is located).
Edit httpd.conf:
add the following:
LoadModule php4_module c:/php/sapi/php4apache2.dll
AddType application/x-httpd-php .php
add index.php to DirectoryIndex:
DirectoryIndex index.html index.html.var index.php
Copy the dll files from C:\PHP\dlls into C:\WINDOWS\SYSTEM32
Restart Apache2
Hopefully this will help some.
edit: pretty annoying that certain words above appear to automatically become links to ads. what's up with that?