无法在 RHEL 7 上安装 ownCloud:依赖项问题?

Unable to install ownCloud on RHEL 7 : Dependencies issue?

我在尝试通过 yum install 安装 ownCloud 时遇到问题(抱歉,控制台是法语的,我会翻译一些看起来对理解很重要的词,所以它们不是真正的英语) :

[root@localhost ~]# yum install owncloud
Modules loaded : langpacks, product-id, search-disabled-repos,
                                : subscription-manager
Resolution of dependencies
--> Lancement de la transaction de test
---> Packet owncloud.noarch 0:8.2.1-1.1 will be installed
--> Treatment of dependence : owncloud-server = 8.2.1 for packet : owncloud-8.2.1-1.1.noarch
--> Treatment of dependence : owncloud-config-apache = 8.2.1 for packet : owncloud-8.2.1-1.1.noarch
--> Test transaction
---> Packet owncloud-config-apache.noarch 0:8.2.1-1.1 will be installed
---> Packet owncloud-server.noarch 0:8.2.1-1.1 will be installed
--> Treatment of dependence : php-ldap for packet : owncloud-server-8.2.1-1.1.noarch
--> Lancement de la transaction de test
---> Packet  php-ldap.x86_64 0:5.4.16-36.el7_1 sera installé
--> Treatment of dependence : php-common(x86-64) = 5.4.16-36.el7_1 pour le paquet : php-ldap-5.4.16-36.el7_1.x86_64
--> End of Resolution of dependencies
Erreur : Paquet : php-ldap-5.4.16-36.el7_1.x86_64 (rhel-7-server-rpms)
             Needed : php-common(x86-64) = 5.4.16-36.el7_1
             Installed : php-common-5.4.41-1.el7.remi.x86_64 (@remi)
                 php-common(x86-64) = 5.4.41-1.el7.remi
             Available : php-common-5.4.16-21.el7.x86_64 (rhel-7-server-rpms)
                 php-common(x86-64) = 5.4.16-21.el7
             Available : php-common-5.4.16-23.el7_0.x86_64 (rhel-7-server-rpms)
                 php-common(x86-64) = 5.4.16-23.el7_0
             Available : php-common-5.4.16-23.el7_0.1.x86_64 (rhel-7-server-rpms)
                 php-common(x86-64) = 5.4.16-23.el7_0.1
             Available : php-common-5.4.16-23.el7_0.3.x86_64 (rhel-7-server-rpms)
                 php-common(x86-64) = 5.4.16-23.el7_0.3
             Available : php-common-5.4.16-36.el7_1.x86_64 (rhel-7-server-rpms)
                 php-common(x86-64) = 5.4.16-36.el7_1
             Available : php54w-common-5.4.45-2.w7.x86_64 (webtatic)
                 php-common(x86-64) = 5.4.45-2.w7
             Available : php55w-common-5.5.30-2.w7.x86_64 (webtatic)
                 php-common(x86-64) = 5.5.30-2.w7
             Available : php56w-common-5.6.14-2.w7.x86_64 (webtatic)
                 php-common(x86-64) = 5.6.14-2.w7
             Available : php56w-common-5.6.15-1.w7.x86_64 (webtatic)
                 php-common(x86-64) = 5.6.15-1.w7
             Available : php56w-common-5.6.16-1.w7.x86_64 (webtatic)
                 php-common(x86-64) = 5.6.16-1.w7
             Available : php70w-common-7.0.0-1.w7.x86_64 (webtatic)
                 php-common(x86-64) = 7.0.0-1.w7

yum can be configured to try to resolve such errors by temporarily enablingdisabled repos and searching for missing dependencies.To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf

我不明白为什么会出现需要 php-common(x86-64) = 5.4.16-36.el7_1 并且我安装了 php-common-5.4.41-1.el7.remi.x86_64 (@remi) 的错误...

我尝试按照说明重新配置 yum,但问题还是一样。我按照 ownCloud 的教程在 RHEL 7 下安装(其中包含为 ownCloud 添加仓库的提示)并且问题是相同的(https://download.owncloud.org/download/repositories/stable/owncloud/)。

我想用yum,因为如果我手动安装,我必须手动更新,而且很复杂...

感谢您的帮助。

您已经从 "remi" 存储库安装了 PHP,默认情况下未启用。

您必须启用它才能安装 php-ldap。

yum --enablerepo=remi install php-ldap

(注意:这将拉取最新版本 5.4.45)