install apache, my sql & php on centos 6:
1/ yum update -y
2/ yum install httpd -y
3/ service httpd start
4/ yum install mysql-server -y
5/ service mysqld start
6/ /usr/bin/mysql_secure_installation
7/ yum install php php-mysql -y
8/ yum install php-* -y
9/ chkconfig httpd on
10/ chkconfig mysqld on
11/ nano /var/www/html/info.php
12/ service httpd restart

Leave a Reply

Your email address will not be published. Required fields are marked *