Linux CentOS 7 64bit How-to Install LAMP with Apache, MariaDB and PHP 5.6 Easy Guide

October 30th, 2014 by thelinuxevangelist

Quick-Start with LAMP for CentOS 7 Linux 64bit

The Linux Tutorial Shows You Step-by-Step How-to Install and Getting-Started with the LAMP Stack composed from the Apache Web Server, the MariaDB Database and the PHP 5.6 Language on CentOS 7 Workstation/Server Linux.

To Get Installed the Evolved PHP 5.6 for CentOS 7 Linux You’ll Need to Enable the Remi Collet CentOS 7 Repository.

MariaDB the Open Source Substitute for the Oracle MySQL Database is Installed by Default on System so Should be Enough to Get Installed Httpd and PHP.

LAMP PHP 5.6 Quick-Start for CentOS 7 64bit - Featured
  1. Open a Command Line Terminal Window
    (Press “Enter” to Execute Commands)

    CentOS 7 How-to Install LAMP with PHP 5.6 - Open Terminal

    Or Login into the Server Shell.

  2. Installing Apache Web Server for CentOS 7 64bit

    su -c "yum install httpd"
  3. Starting Apache Web Server

    su -c "service start httpd"
  4. Enable the Remi Collet Repo for CentOS 7 64bit:

    Remi Repo x8664 .rpm Package
  5. Installing PHP 5.6 for CentOS 7 64bit

    su -c "yum --enablerepo=remi,remi-test,remi-php56 install php php-mysql"
  6. Testing PHP and Apache Integration

    Create a PHP Info File:

    su -c "echo '' > /var/www/html/info.php"

    Point the Browser to:


LAMP PHP 5.6 Quick-Start for CentOS 7 64bit - PHP Info

Tags: , , , , , , , , , , , , , , , , , , ,