Error: php71w-common conflicts with php-common-5.4.16-46.el7.x86_64


Centos7.3 阿里雲主機 安裝zabbix報錯

問題:

[root@lvhanzhi code]# yum install -y zabbix-web-mysql zabbix-agent mariadb-server
Error: php71w-common conflicts with php-common-5.4.16-46.el7.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

產生的原因:

之前安裝的不是php71w-common,安裝zabbix需要依賴php71w-common

解決方法:

yum remove php-mysql-5.4 php php-fpm php-common   #刪除之前安裝的php
yum install -y zabbix-web-mysql zabbix-agent mariadb-server #重新安裝zabbix


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM