I've just picked up the most recent versions:
PHP - 5.2.0RC6-dev
MySQL - 5.0.26
Apache - 2.2.3
but I appear to be unable to get the mysql/mysqli extension to work. After ensuring that the path is correctly set, and all the relevant configuration lines are in place, I am able to restart apache cleanly, however the mysql/mysqli extensions are NOT being loaded. I've noticed that certain other extensions do not load mcyrpt and mhash being two notable ones I regularly use, however gd2 and gettext both load correctly.
I've tried copying the libmysql.dll (as supplied by MySQL) into the PHP folder but again, same results.
Any suggestions anyone?
Apache configuration (relevant lines)
[INDENT]LoadModule php5_module "c:/php/php5apache2_2.dll"
PHPIniDir "c:/php"
AddType application/x-httpd-php .php
DirectoryIndex index.php
[/INDENT]
PHP ini configuration (relevant lines)
[INDENT]extension_dir = "C:\PHP\ext\"
extension=php_mysql.dll
extension=php_mysqli.dll
extension=php_mcrypt.dll
extension=php_mhash.dll
extension=php_gd2.dll
extension=php_gettext.dll[/INDENT]
Path
[INDENT]C:\PHP\ext;C:\PHP;C:\MySQL\bin; ...[/INDENT]