Apache, MySql and PHP are the open source
programs available for use on most of the well known operating
systems like the Linux Operating System.
1 - Checking and Removing Any Existing
Installations of the 3 of Them
Run the following command to make sure that
any existing installations of Apache, MySql or PHP are removed:
yum -y remove httpd mysqld mysql-server php
2 - Installing Apache
Run the following to install the Apache web
server:
yum -y install httpd
3 - Installing MySql Server
Run the following command to install MySql
Server:
yum -y install mysqld mysql-server
4 - Install PHP
Run the following command to install PHP:
yum -y install php php-mysql
5 - Installing PHP Libraries
PHP has many different libraries and add-ons
which you want or need to utilize. Run the following command
for installing the PHP GD image library and the PHP IMAP library:
yum -y install php-gd php-imap
|