Apache HTTPD can also be referred to as httpd or Apache for short. It is one of the most widely used web servers on the Internet.
yum install httpd -y install httpd
yum install php -y install php
yum install php-fpm -y install php-fpm
yum install php-mysql -y install php-mysql
yum -y install httpd-manual mod_ssl mod_perl mod_auth_mysql
install apache extension
yum -y install php-gd php -xml php-mbstring php-ldap php-pear php-xmlrpc
install php extension
service httpd start start apache
cd /var/www write