解决办法1 Go to the directory "\xampp\mysql\bin" and execute the programm "mysql_update.exe". 进到\xampp\mysql\bin目录下运行mysql_update.exe(若无则运行mysql_upgrate.exe) 解决方法2 下载一个最新的libmysql.dll扩展库 英文原文如下
After downloading 1.7 for windows, I found that any php programs using PDO crashed apache. Here's the fix, which I found on the german language xampp board here: http://www.apachefriends.org/f/viewtopic.php?f=4&t=32587
download this: http://windows.php.net/downloads/snaps/php-5.2-win32-VC6-x86-latest.zip
unzip, then copy libmysql.dll into xampp\apache\bin and xampp\php. Restart apache and you should be good. 将下载下来的php-5.2-win32-VC6-x86-latest.zip 解压取出其中中的libmysql.dll 扩展库 拷贝到 xampp\apache\bin 和xampp\php目录下去覆盖原文件,重新启动apache ok!