This tutorial shows how you can install an Apache webserver on a CentOS 7 server with PHP (mod_php with PHP 5.4, PHP 7.0, or PHP 7.1) and MySQL support. This setup is often referred to as LAMP which stands for Linux – Apache – MySQL – PHP.
via Planet MySQL
How to install Apache, PHP 7.1 and MySQL on CentOS 7.3 (LAMP)