TecMint published a tutorial about installing the latest LAMP stack in RHEL-based distributions.
How to Install Latest LAMP Stack in RHEL-based Distributions
In this article, we will introduce Remi, a third-party repository that includes up-to-date versions of Apache, MySQL / MariaDB, PHP, and related software.
How to Install Latest LAMP Stack in RHEL-based Distributions