欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  php教程

Your PHP installation appears to be missing the MySQL extens

程序员文章站 2022-04-07 16:53:14
...
在部署完LAMP,安装并设置好WordPress之后,在浏览器中输入http:your ip,发现弹出如下错误:

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

这是因为在上一步中并没有安装PHP-mysql插件,解决方法:

相关mysql视频教程推荐:《mysql教程

$yum install -y php-mysql

//重启apache服务器

$service httpd restart

打开网页,如图所示:

Your PHP installation appears to be missing the MySQL extens

Over.