Knowledgebase
Knowledgebase
Install Apache, PHP & MySQL (CentOS)
Posted by Will Kruss on 16 August 2012 10:57 AM

If you have chosen a CentOS distribution of Linux, you can easily install Apache, PHP and MySQL through SSH.

If you have chosen a CentOS distribution of Linux (not cPanel as it automatically installs everything), you can easily install Apache, PHP and MySQL through SSH.

First login to your server through your SSH client (we recommend Putty)

Type the following:

yum install -y httpd mysql php php-mysql

This will install Apache, MySQL and PHP with MySQL support.

You can administer your installation of Apache through WebMin (access at http://youripaddress:10000/)

You will need to modify your MIME TYPES to support PHP. This is easily done through WebMin as is setting up virtual hosts. We recommend looking at this article:

http://www.techrepublic.com/blog/doityourself-it-guy/diy-configure-apache-with-the-help-of-webmin/1594

 

(0 vote(s))
Helpful
Not helpful