First of all, I would like to say that I've solved my problem with having to copy the libmysql.dll to the windows folder :) With Filemon, I've traced the filesystem calls, and I've found the problem: PHP was loading the libmysql.dll that was in the C:\mysql\bin folder (that is first in the path). The solution: just remove it :)
Hehe...
I think we must definetly vote for a install procedure for windows. Then I can update the install section, so that we can switch to the new one.
My proposal: 1) unzip the php5-x.zip to C:\php
2) copy php.ini-dist to php.ini and configure it (or php-apache2handler.ini for multiple installs)
3) add to httpd.conf: PHPIniDir "C:/php" LoadModule php5_module c:/php/php5apache2.dll AddType application/x-httpd-php .php
For PHP 4, just copy everything to the C:\php dir and follow the PHP 5 steps.
With this config, I think all problems that were raised are solved.
If this works, then it is more than good :) BTW does PHPIniDir work for PHP 4?
Goba