How install Remi repository on Centos / RHEL 7/6

How install Remi repository on Centos / RHEL 7/6

Remi repository is one of third-party repository that have latest update of PHP on Enterprise Linux such as Red Hat, Centos, Fedora.

You can read more about Remi’s RPM repository site on

To install Remi repository on Centos, first you need to enable EPEL Repository On CentOS 7 / RHEL 7

If command above does not work or CentOS 6 / RHEL 6 you can manually install with:

Then install Remi repository with command:

Check repolist with

Also Read: Install and enable Remi repository on CentOS 8

Currently, remi has PHP 5.4, PHP 7.0, PHP 7.1, PHP 7.2, PHP 7.3 and , PHP 7.4. By default, Remi repository is not enabled. You need to manually enable PHP Version on Remi repo.

If you need to install specific PHP for example PHP-7.3 or PHP-7.4 you have to enable remi-php74.repo in /etc/yum.repo.d

And this is sample output:

Edit /etc/yum.repos.d/remi-php74.repo and change enabled=0 to enabled=1

3 thoughts on “How install Remi repository on Centos / RHEL 7/6

  1. I am really pleased to say it’s an interesting post to read.
    I learn new information from your article, you do a great job.

    Best regards,
    Dinesen Valenzuela

  2. Hi there, this weekend is good in favor of me, because
    this time i am reading this great informative piece of writing here at my home.

Leave a Reply

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