This thread was too long for me to bother reading. Before when I wasn't
using XAMPP <http://apachefriends.org> I had the same kind of problems
so i found all files like mysql.dll or something simular and placed
them in every directory i thought might make it work and it did, so if
you don't get it working then try that.