解决zabbix安装出现php databases support off,报错

环境:centos7

已安装数据库mariadb

技术分享

使用yum解决依赖关系

yum install -y php-mysql.x86_64


重启apche服务和sql服务

如果不重启的话下一步连接sql会报错,即使你的帐号密码都是对的



systemctl restart mariadb.service


service httpd restart


然后网页重试一下

技术分享

技术分享

本文出自 “Thales” 博客,请务必保留此出处http://thales.blog.51cto.com/7311175/1661368

文章来自:http://thales.blog.51cto.com/7311175/1661368
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3