mysql 扩展 拓展的安装
1.20 I receive the error "cannot load MySQL extension, please check PHP Configuration".
To connect to a MySQL server, PHP needs a set of MySQL functions called "MySQL extension". This extension may be part of the PHP distribution (compiled-in), otherwise it needs to be loaded dynamically. Its name is probably mysql.so or php_mysql.dll. phpMyAdmin tried to load the extension but failed.
Usually, the problem is solved by installing a software package called "PHP-MySQL" or something similar.
phpMyAdmin - 错误
无法载入 mysql 扩展,
请检查 PHP 配置 - 文档
您的 PHP 似乎没有安装运行 WordPress 必须的 MySQL 拓展。
本人安装apache 2.2,php5.2.8,然后按照提示安装wordpress,访问install页面时,出现"您的 PHP 似乎没有安装运行 WordPress 必须的 MySQL 拓展。",是怎么回事?要怎么样才能通过这个错误提示,
解决办法在ubuntu里是添加下面命令解决
sudo apt-get install PHP-MySQL
然后要重启apache2
sudo /etc/init.d/apache2 restart
如果是windows环境按照如下处理
你可能忘记打开php.ini中的mysql扩展打开了.
打开php.ini,去掉下面这个最前面的分号.
;extension=php_mysql.dll
并且重启IIS.
评论已关闭!