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:
Change line 428:
extension_dir = "./"
to
extension_dir = "C:\PHP\extensions"
Change line 546
(this enables GD, ability to dynamically create images)
(and is not required):
;extension=php_gd2.dll
to
extension=php_gd2.dll
(to enable GD, if desired.)
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