Install Apache/Mysql(Maria DB)/PHP to CentOS 7

May 3, 2017

This is a log that I installed Apache 2.4 / Mysql(Maria DB 10.1) / PHP7 to Cent OS7.

Environment

CentOS 7.3.1611 (Using VPS)

 

 

1.Install mariaDB 10.1

1-1. Install

Add repository

Install

 

1-2. Settings

 

1-3. Boot & Auto boot settings

Start

Auto boot settings

Confirmation

 

2.Install Apache2.4

2-1. Preparation

Install basic tools

Allow http & https

Confirmation

 

2-2. Add repository

EPEL

Remi

 

2-3. Install

Start Apache

Access to http://your ip/. Once you see Apache initial page, success.

 

3.Install PHP7

3-1. Install

 

3-2. Settings

Make directory for Log files

Change php.ini