Execute the following steps or make sure you've executed the following steps correctly:
1) Update and install Apache and PHP:
sudo yum check-update
sudo yum -y install httpd php
2) Start the Apache service:
sudo service httpd start
sudo chkconfig httpd on
Hope this helps!
Get your Linux certification today to become certified.