# 错误提示:
--> Finished Dependency Resolution
Error: Package: php-ldap-5.4.16-42.el7.x86_64 (base)
           Requires: php-common(x86-64) = 5.4.16-42.el7
           Installed: php-common-5.4.16-45.el7.x86_64 (@base)
               php-common(x86-64) = 5.4.16-45.el7
           Available: php-common-5.4.16-42.el7.x86_64 (base)
               php-common(x86-64) = 5.4.16-42.el7
Error: Package: php-xml-5.4.16-42.el7.x86_64 (base)
           Requires: php-common(x86-64) = 5.4.16-42.el7
           Installed: php-common-5.4.16-45.el7.x86_64 (@base)
               php-common(x86-64) = 5.4.16-45.el7
           Available: php-common-5.4.16-42.el7.x86_64 (base)
               php-common(x86-64) = 5.4.16-42.el7
Error: Package: php-gd-5.4.16-42.el7.x86_64 (base)
           Requires: php-common(x86-64) = 5.4.16-42.el7
           Installed: php-common-5.4.16-45.el7.x86_64 (@base)
               php-common(x86-64) = 5.4.16-45.el7
           Available: php-common-5.4.16-42.el7.x86_64 (base)
               php-common(x86-64) = 5.4.16-42.el7
Error: Package: httpd-2.4.6-67.el7.centos.x86_64 (base)
           Requires: httpd-tools = 2.4.6-67.el7.centos
           Installed: httpd-tools-2.4.6-80.el7.centos.x86_64 (@base)
               httpd-tools = 2.4.6-80.el7.centos
           Available: httpd-tools-2.4.6-67.el7.centos.x86_64 (base)
               httpd-tools = 2.4.6-67.el7.centos
Error: Package: php-mbstring-5.4.16-42.el7.x86_64 (base)
           Requires: php-common(x86-64) = 5.4.16-42.el7
           Installed: php-common-5.4.16-45.el7.x86_64 (@base)
               php-common(x86-64) = 5.4.16-45.el7
           Available: php-common-5.4.16-42.el7.x86_64 (base)
               php-common(x86-64) = 5.4.16-42.el7
Error: Package: php-5.4.16-42.el7.x86_64 (base)
           Requires: php-common(x86-64) = 5.4.16-42.el7
           Installed: php-common-5.4.16-45.el7.x86_64 (@base)
               php-common(x86-64) = 5.4.16-45.el7
           Available: php-common-5.4.16-42.el7.x86_64 (base)
               php-common(x86-64) = 5.4.16-42.el7
Error: Package: php-pdo-5.4.16-42.el7.x86_64 (base)
           Requires: php-common(x86-64) = 5.4.16-42.el7
           Installed: php-common-5.4.16-45.el7.x86_64 (@base)
               php-common(x86-64) = 5.4.16-45.el7
           Available: php-common-5.4.16-42.el7.x86_64 (base)
               php-common(x86-64) = 5.4.16-42.el7
Error: Package: php-cli-5.4.16-42.el7.x86_64 (base)
           Requires: php-common(x86-64) = 5.4.16-42.el7
           Installed: php-common-5.4.16-45.el7.x86_64 (@base)
               php-common(x86-64) = 5.4.16-45.el7
           Available: php-common-5.4.16-42.el7.x86_64 (base)
               php-common(x86-64) = 5.4.16-42.el7
Error: Package: php-bcmath-5.4.16-42.el7.x86_64 (base)
           Requires: php-common(x86-64) = 5.4.16-42.el7
           Installed: php-common-5.4.16-45.el7.x86_64 (@base)
               php-common(x86-64) = 5.4.16-45.el7
           Available: php-common-5.4.16-42.el7.x86_64 (base)
               php-common(x86-64) = 5.4.16-42.el7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
# 问题分析: 在安装zabbix服务器环境的时候出现了如下的错误;
通过对错误分析发现错误来源于zabbix服务器对PHP和httpd版本需要比
我们实际此前已经安装的PHP和httpd的版本要求更低造成的;

#解决办法:
只需要卸载我们已经安装的高版本的PHP和Apache httpd即可;
然后执行如下安装zabbix服务器环境的安装包,他就会自动的解决他所依
赖的httpd和PHP的合适版本;

# yum remove php-*
# yum remove httpd*
[root@zabbix-server-7 yum.repos.d]#yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent