WAMP 安装良好,没有问题,但是...
去 phpMyAdmin 时,我从 phpMyAdmin 收到如下错误:
Cannot load mysqli extension. Please check your PHP configuration
此外,phpMyAdmin 文档对此错误消息的解释如下:
为了连接到 MySQL 服务器,PHP 需要一组称为“MySQL 扩展”的 MySQL 函数。此扩展可能是 PHP 发行版的一部分(已编译),否则需要动态加载。它的名字可能是 mysql.so 或 php_mysql.dll。phpMyAdmin 尝试加载扩展但失败。通常,通过安装名为“PHP-MySQL”或类似的软件包来解决问题。
最后,apache_error.log 文件包含以下 PHP 警告(请参阅 mySQL 警告):
PHP Warning: Zend Optimizer does not support this version of PHP - please upgrade to the latest version of Zend Optimizer in Unknown on line 0
PHP Warning: Zend Platform does not support this version of PHP - please upgrade to the latest version of Zend Platform in Unknown on line 0
PHP Warning: Zend Debug Server does not support this version of PHP - please upgrade to the latest version of Zend Debug Server in Unknown on line 0
PHP Warning: gd wrapper does not support this version of PHP - please upgrade to the latest version of gd wrapper in Unknown on line 0
PHP Warning: java wrapper does not support this version of PHP - please upgrade to the latest version of java wrapper in Unknown on line 0
PHP Warning: mysql wrapper does not support this version of PHP - please upgrade to the latest version of mysql wrapper in Unknown on line 0
因此,由于某种原因 PHP 无法识别 mysql 扩展。
有谁知道为什么?任何解决方案或解决方法?