Installing Apache, php, mysql (CentOS, Red Hat)

Installing Apache + php + mysql
Update the system:
# yum update
# yum install httpd php-common mod_ssl php-gd phpmcrypt php memchache phpmhash php-mysql phpxmlmysql mysql php-gd serverl. ImageMagick-devel i386 i386.
Install system-configsecurityleveltui:
# yum install iptables system-configsecurityleveltui
Then run it using:
# system-configsecurityleveltui
Exhibit:
Security Level: Enabled
SELinux: disabled
Install apache + php + MySQL:
yum install httpd php-common mod_ssl php-gd phpmcrypt php memchache phpmhash php-mysql phpxml-mysql mysql-server
at its sole discretion, to modify the configuration files:
configure apache/etc/httpd/conf/httpd.conf
/etc/php.iniphp settings
/etc/my.cnfmysql configuration
Then restart the services:
# mysqlserver service restart
# service httpd restart