您的PHP安装似乎缺少WordPress所需的MySQL扩展 [英] Your PHP installation appears to be missing the MySQL extension which is required by WordPress

查看:2095
本文介绍了您的PHP安装似乎缺少WordPress所需的MySQL扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试在debian服务器服务器中安装wordpress。
其中MySql已经存在,在本地服务器
中运行正常,但是当我打开我的wordpress博客显示此错误

Trying to install wordpress in debian server server. Where MySql already exist which is running fine in local server but when I am opening my wordpress blog showing this error

Your PHP installation appears to be missing the MySQL extension which is required by WordPress.

有谁知道是什么问题?

推荐答案

在Windows中最常见的原因是您的 PHP.INI 没有取消注释mysql行它没有加载mysql模块(或者模块完全是完全丢失的)。

The most common reason for this in windows is that your PHP.INI doesn't have the mysql line uncommented, so it's not loading the mysql module (or the module is simply missing entirely).

extension=php_mysql.dll

修复PHP.INI文件后重新启动您的网络服务器。

Restart your webserver after you fix the PHP.INI file.

这篇关于您的PHP安装似乎缺少WordPress所需的MySQL扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆