0

Installation of Apache , MySQL, PHP that is also called as LAMP abbreviated as Linux Apache MySQL PHP 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

Step-I(Install & Enable REMI repositories)

For RHEL / CentOS /Scientific Linux /Oracle Linux 6 (32 and 64 bit)
# yum localinstall --nogpgcheck http://fr2.rpmfind.net/linux/remi/enterprise/6.5/remi/x86_64/remi-release-6.5-1.el6.remi.noarch.rpm
For RHEL / CentOS / Scientific Linux / Oracle Linux 5 (32 and 64 bit)
# yum localinstall --nogpgcheck http://fr2.rpmfind.net/linux/remi/enterprise/5/remi/x86_64/remi-release-5.10-1.el5.remi.noarch.rpm
Enable the REMI Repository
# yum clean all
# yum update

Step-II(Installation of Apache )

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

Step-III(Installation of MySQL )

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

Step-IV(Installation of PHP )

For Fresh Installation of PHP
# yum install php55w php55w-opcache
For Existing PHP versions & Upgrade to PHP
# 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

That’s all for now.

How to Install MySQL Database Server on CentOS / RHEL

Previous article

How to Install Yum Online Repositories on CentOS / RHEL

Next article

You may also like

Comments

Leave a reply

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

More in Linux