码迷,mamicode.com
首页 > 数据库 > 详细

zabbix 安装时 到第三步时 database type 没有mysql选项

时间:2017-05-26 20:41:34      阅读:2789      评论:0      收藏:0      [点我收藏+]

标签:问题解决   php   figure   题解   rest   library   mysqli   3.3   安装   

没有MySQL选项:

技术分享

 

思路首选想到httpd:

一些问题都会从日志中反映出来:

# tail -f error_log 
PHP Warning:  PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/pdo_mysql.so‘ - libmysqlclient.so.16: cannot open shared object file: No such file or directory in Unknown on line 0
[Fri May 26 19:33:13 2017] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 configured -- resuming normal operations
[Fri May 26 19:44:17 2017] [notice] caught SIGTERM, shutting down
[Fri May 26 19:44:17 2017] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri May 26 19:44:17 2017] [notice] Digest: generating secret for digest authentication ...
[Fri May 26 19:44:17 2017] [notice] Digest: done
PHP Warning:  PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/mysql.so‘ - libmysqlclient.so.16: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/mysqli.so‘ - libmysqlclient.so.16: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/pdo_mysql.so‘ - libmysqlclient.so.16: cannot open shared object file: No such file or directory in Unknown on line 0
[Fri May 26 19:44:17 2017] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 configured -- resuming normal operations





# rpm -qf /usr/lib64/perl5/auto/DBD/mysql/mysql.so 
perl-DBD-MySQL-4.013-3.el6.x86_64


# yum install perl-DBD-MySQL.x86_64

# /etc/init.d/httpd restart

 问题解决:

技术分享

zabbix 安装时 到第三步时 database type 没有mysql选项

标签:问题解决   php   figure   题解   rest   library   mysqli   3.3   安装   

原文地址:http://www.cnblogs.com/bass6/p/6910274.html

(1)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!