我正在尝试在 centos 6 上安装 php 7.2,它会导致以下错误。我按照以下步骤进行操作:LINK。
从其他帖子中我了解到这可能是因为我从源代码构建了 httpd 2.4。但我找不到一个好的解决方案如何解决它。我清理了 yum 缓存并更新了 yum 等。如在其他帖子中发现的那样,但没有运气。解决这个问题的正确方法是什么?
我也应该从源代码构建 php 7.2 吗?
Error: Package: php-7.2.3-1.el6.remi.x86_64 (remi-php72)
Requires: httpd-mmn = 20051115
Installed: httpd-2.4.12-1.x86_64 (installed)
httpd-mmn = 20120211
Available: httpd-2.2.15-59.el6.centos.x86_64 (base)
httpd-mmn = 20051115
Available: httpd-2.2.15-60.el6.centos.4.x86_64 (updates)
httpd-mmn = 20051115
Available: httpd-2.2.15-60.el6.centos.5.x86_64 (updates)
httpd-mmn = 20051115
Available: httpd-2.2.15-60.el6.centos.6.x86_64 (updates)
httpd-mmn = 20051115 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles
--nodigest