Connect with us

Hi, what are you looking for?


How to Install LAMP Stack on CentOS 6

Installation of Apache 2.4, MySQL 5.5, PHP 5.5 that is also called as LAMP abbreviated as Linux Apache MySQL PHP on CentOS/RHEL/Scientific Linux/Oracle Linux 6/5 with step by step details.

Introduction to the Apache

  • Apache is the most popular web server platforms for windows and Linux
  • It has high performance with consistent memory usage.
  • It have a rich feature set.
  • It is an open-source application also a high peak performance web server.
  • It has a reverse proxy.
  • It also used as a mail Proxy Server.
  • It is known for its high performance and stability.
  • It have simple configuration and low resource consumption.
  • It is used to serve web pages like extension for major web site platforms.
  • It supports large number of web server compatible with Apache.

Introduction to the MySQL

  • MySQL is a relational database management system (RDBMS).
  • It has more than 11 million installations.
  • The program runs as a server providing multi user access to a number of databases.
  • MySQL is the most famous open source database management system (RDBMS).
  • It can runs with any web server like Nginx and Apache.
  • MySQL provides multi user access to multiple databases.
  • It compatible and smooth runs with Nginx & Apache.

Inroduction to the PHP

  • PHP is a programming language
  • It is used for designing of web site and server
  • It is a Hypertext Preprocessor
  • It is an open source scripting language
  • It is best suited for web development
  • It can be used to create web pages and posts for a php based website.

List of PHP Modules

  • MBString
  • MCrypt
  • APC
  • PostgreSQL
  • MongoDB
  • SQLite
  • Memcache
  • CLI
  • PEAR
  • PDO
  • MySQL
  • Memcached
  • GD
  • XML
  • php mod_php
  • php-bcmath
  • php-cli
  • php-cgi
  • php-pcntl
  • php-readline
  • php-common
  • php-hash
  • php-session
  • php-dba
  • php-devel
  • php-eaccelerator
  • php-embedded
  • php-embedded-devel
  • php-fpm
  • php-gd
  • php-imap
  • php-intl
  • php-LDAP
  • php-mbstring
  • php-mcrypt
  • php-pecl-apc
  • php-pecl-memcache
  • php-pecl-xdebug
  • php-mssql
  • php-odbc
  • php-pdo
  • php-pgsql
  • php-pdo_pgsql
  • php_database
  • php-process
  • php-posix
  • php-sysvmsg
  • php-sysvsem
  • php-sysvshm
  • php-pspell
  • php-recode
  • php-snmp
  • php-soap
  • php-suhosin
  • php-tidy
  • php-xml
  • php-xmlrpc
  • php-zts

Installation of Apache 2.4, MySQL 5.5, PHP 5.5 on CentOS/RHEL/Scientific Linux/ Oracle Linux 6/5

Step-I(Install & Enable REMI repositories)

For RHEL/CentOS/Scientific Linux/Oracle Linux 6 (32 and 64 bit)
# yum localinstall --nogpgcheck
For RHEL/CentOS/Scientific Linux/Oracle Linux 5 (32 and 64 bit)
# yum localinstall --nogpgcheck
Enable the REMI Repository
# yum clean all
# yum update

Step-II(Installation of Apache 2.4)

For Fresh Installation of Apache 2.4
# yum install httpd
For Existing Apache versions & Upgrade to Apache 2.4
# yum upgrade httpd

Step-III(Installation of MySQL 5.5)

For Fresh Installation of MySQL 5.5
# yum install mysql55w mysql55w-server
For Existing MySQL versions & Upgrade to MySQL 5.5
# yum install mysql.`uname -i` yum-plugin-replace
# yum replace mysql --replace-with mysql55w

Step-IV(Installation of PHP 5.5)

For Fresh Installation of PHP 5.5
# yum install php55w php55w-opcache
For Existing PHP versions & Upgrade to PHP 5.5
# yum install yum-plugin-replace
# yum replace php-common --replace-with=php55w-common
Step-V(Restart the Httpd & Mysqld Services)
# service httpd restart
# service mysqld restart

Congratulations Now you have installed Apache 2.4, MySQL 5.5, PHP 5.5 on CentOS/RHEL/Scientific Linux/Oracle Linux 6/5 with step by step details.That`s all now, you have configured and installed LAMP.You’re now ready to use the LAMP on your systems. Just Boot to the Linux Operating system and see the action of the LAMP. Ensure that the LAMP perfectly with the all Client systems.Enjoy the LAMP on your system. Any difficulties regarding the installation and configuration use the comment section below.


You May Also Like


How to auto upgrade JioFi firmware for JioFi 2 / JioFi 3 / JioFi 4 / JioFi 5 / JioFi 6 and other JioFi...


Internet is the most important public network for connecting to the WEB. For internet connection requirement the ISP is required as well as it...


How to download and install the Mobile Intel 4 Series Express Chipset Graphics Drivers for Windows 10.  Windows 10 is the one of the...


How to Install and Configure PCSX2 on Windows 10. The Windows 10 is the most recommended operating system for the Games. In stream platform...