PHP 7.3 and 7.4 Woes and solution

So this weekend I have been doing some LibreNMS installs and have been having to change the default CentOS PHP version. If it is Centos7 PHP 7.3 is recommend and if it’s Centos 8 then PHP 7.4 is recommended. I have some pretty good tutorials on installing Librenms that I follow. They all mention the remi repository. However, on a few of these networks the remi repository has been unreachable. So I just can’t cut and paste from the tuorials I use.

So what is a person to do? Lots of mirrors are available at https://rpms.remirepo.net/. All you have to do is some substitution.
http://mirror.team-cymru.com/remi/enterprise/remi-release-7.rpm

Done and Done. Hope this helps. You should be using mirrors anyway when it comes to remi. However, most tutorials reference remi because it’s easy.

Whats new in CentOS8?

  • Cockpit web console is available by default in CentOS 8.
  • Support for up to 4PB of physical memory.
  • Nginx 1.14 is now available in the core repository.
  • PHP version 7.2 is the default PHP version.
  • Python 3.6 is the default Python version.
  • Wayland is the default display server.
  • nftables has replaced iptables to be the default network filtering framework.
  • XFS now has support for shared copy-on-write data extents.
  • RPM 4.14 (as distributed in RHEL 8) validates package content before installing.
  • A new version of YUM based on DNF which is compatible with YUM 3 (as is in CentOS 8).
  • Content is channeled through 2 main repos: BaseOS and Application Stream (AppStream).
  • The brand new CentOS Stream