如何解決 yum install mod_php71u 衝突?

如何解決 yum install mod_php71u 衝突?

當我執行命令 yum install mod_php71u 時,我收到以下訊息:

Error: httpd24u-tools conflicts with httpd-tools-2.2.15-60.el6.centos.6.x86_64
Error: httpd24u conflicts with httpd-2.2.15-60.el6.centos.6.x86_64

我是否需要運行命令來忽略基本 CentOS httpd?

我究竟做錯了什麼?

附加資訊:

mod_php71u 和 httpd24u 來自曼月樂儲存庫

百勝清單已安裝httpd

Installed Packages
httpd24u.x86_64                                                            2.4.29-1.ius.centos6                                                  @ius
httpd24u-filesystem.noarch                                                 2.4.29-1.ius.centos6                                                  @ius
httpd24u-tools.x86_64                                                      2.4.29-1.ius.centos6                                                  @ius

百勝重新處理

repo id                                       repo name                                                                                     status
base                                          CentOS-6 - Base                                                                                   6,706
epel                                          Extra Packages for Enterprise Linux 6 - x86_64                                                12,368+86
extras                                        CentOS-6 - Extras                                                                                  50+2
ius                                           IUS Community Packages for Enterprise Linux 6 - x86_64                                              392
updates                                       CentOS-6 - Updates                                                                                  945
repolist: 20,461

答案1

這在曼月樂® 常見問題解答適用於 php56u,但也適用於 mod_php71u。 IUS 套件被設計為按選單使用,因此我們的 mod_php 套件針對 Stock httpd 進行編譯。這意味著您可以使用 php71u,而不必被迫使用 httpd24u。如果您想同時使用兩者,則需要從 mod_php71u 切換到 php71u-fpm。

相關內容