Questions? Feedback? powered by Olark live chat software
Knowledgebase
Author Avatar

Install Apache, PHP & MySQL (CentOS)

Written by: on 31 May 2016 03:56 PM 31 May 2016 03:56 PM

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