今天在本机上安装magento出错,apache直接挂拉,提示错误
故障模块名称: php_pdo_mysql.dll
因我的php环境为xamp2.2,好像有不少人碰到这个错误,不想深究
google了一把,应该不只是xamp会出现这个问题,使用iis也会重启并且弹出出错框的可能
别人给出的解决办法
以下为别人给出的解决办法------------------------------------
解决办法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.
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!
在我的尝试当中,第一个办法以失败告终,第二个办法顺利进行
备注一下