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

October 30, 2014 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Quick-Start with LAMP for CentOS 7 Linux 64-bit

You are Welcome! The 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 64-bit - 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 64-bit.

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

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

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

    sudo 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:

    http://localhost/info.php

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


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

QuickChic Theme • Powered by WordPress