Chapter 1. STEP 1 :

Install Remi Repository and EPEL Repository on your server :

Section 1. RHEL 7

Section 2. RHEL 6

Section 3. CentOS 7

Section 4. CentOS 6

Chapter 2. STEP 2 :

After you have installed repository you need to follow some extra configurations :

Section 1. Run this command one by one for RHEL or CentOS

Chapter 3.  STEP 3 :

Now just run this command :

You’ll see php packages are getting updated, After the update process you need to restart Apache server/php-fpm-(nginx) and check the php version from by below mentioned command:

Troubleshoot

If php upgrade process fails (no update/nothing happens) or you upgraded previously from 5.6 to 7.0/7.1 then you need to run this commands to disable php 5.6/7.0/7.1 :

After that follow the tutorial from STEP 2 again.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

Этот сайт использует Akismet для борьбы со спамом. Узнайте, как обрабатываются ваши данные комментариев.