参考说法
http://bugs.php.net/bug.php?id=46289 BUG报告道: [2009-06-22 01:53 UTC] ramin dot farmani at gmail dot com
Hi
similarly my httpd.exe crashed when i runnig a site wroten by Yii framework it's seem we have a big problem in php_pdo_mysql library I using php 5.2.10 [2009-09-02 01:07 UTC] Parad0X dot UA at gmail dot com
I was able to fix this by removing MYSQL from Windows' PATH env setting. Looks like when PHP is looking for libmysql.dll it uses the first one it finds in mysql\bin and it's not quite compatible.
Or you can try to add php to the path before mysql.
I hope that helps.
【注:此处建议,在系统变量PATH中,把PHP的目录放在MySql\bin目录前。】 [2009-09-02 07:45 UTC] pajoye@php.net
Ok, it was then the classic case where MySql's libmysql DLL was used instead of the version bundled with PHP. We already have many bogus reports about this issue and your solution is the right one (as explain in the other reports).
【注:此处认为这是一个经典的场景,把MySql自带的libmysql替换PHP自带的,导致不兼容悲剧。】