install:
yum install mysql mysql-server httpd php phpmyadmin
or:
yum groupinstall 'Web Server'
secure the installation
mysql_secure_installation
start the services
systemctl enable httpd.service systemctl start httpd.service systemctl enable mysqld.service systemctl start mysqld.service
test the installation, open
http://localhost/
when write access to files is needed try
setenforce 0