Microsoft Windows (XP), Apache 2.0, PHP 5b4 (as apache module), and MySQL.
First, yes it was a pain to get this work but only because I didn't do everything I was told.
It is simple, and don't be copying files hither, tither, and yon...
1: Install Apache 2.0: (default location: c:\Program Files\Apache Group\Apache2\)
Install PHP5 beta-4 (My pick: c:\php-5b4)
create a php.ini file in the apache2 base directory:
c:\Program Files\Apache Group\Apache2\php.ini
in php.ini:
extension_dir = "c:\php-5b4\ext"
uncomment
extension=php_mysql.dll
Make sure c:\php-5b4\ext\php_mysql.dll exists!
(if it isn't there, find it and put it there. Some PHP snapshots (snaps.php.net) have left it out. Copy it from a previous build if need be).
Copy libmysql.dll (whereever you can find it) to \WINDOWS\system32 (I could not find another place to put libmysql.dll and have php/apache2 work properly). If you don't move libmysql.dll to \WINDOWS\system32 you are likely to get "can't load c:\php-5b4\ext\php_mysql.dll".
Edit C:\Program Files\Apache Group\Apache2\conf\http.conf
Add these lines to the end of http.conf:
LoadModule php5_module "c:/php-5b4/php5apache2.dll"
AddType application/x-httpd-php .php
(you need forward slashes in the http.conf file)
Start up apache2.0... check it out...
Notes:
I did not describe the installation procedure for mysql. I figure you know how to do that.
I did not describe editting other parts of the php.ini file (and http.conf file) to set things up for your host cause I figured you know how to do that.
I did not move php5apache2.dll or php5ts.dll from where the sit in c:\php-5b4. It isn't necessary.
I did not move the c:\php-5b4\ext directory anywhere... let it sit.
Pax, Keith