I am trying to install php 7.2 on centos 6, and it results in the following error. I followed the steps as explained in: LINK.
From other posts I understand it's probably because I build httpd 2.4 from source. But I can't find a good solution how to solve it. I cleaned the yum caches and updated yum, etc.. as found in other posts, but no luck. What is the correct way to solve this?
Should I build php 7.2 also from source?
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
mod_php in remi repository is always build against default httpd version in base repository (so version 2.2 in CentOS 6).
Don't know where your httpd 2.4 comes from, but you cannot use mod_php with it (and looks like an outdated version...).
BTW, I recommend to switch to FPM which is a much modern way to execute PHP scripts, and which is mandatory if you also need HTTP2.
If you really need httpd 2.4, you can also switch to CentOS 7