I am having issues installing php-mcrypt. I am not an administrator of any level.

I have performed the following.

  • Installed EPEL

  • Installed REMI

  • Configured EPEL

  • Updated YUM

  • Cleaned YUM

  • Installed mcrypt

  • Installed libcrypt

YUM still cannot find php-mcrypt

I have performed a search:

yum list php* | grep mcry

with no results.

  • 1
    Did you enable the remi repo? It's disabled by default. Jun 3, 2014 at 11:20
  • Thanks for the reply, Michael. Yes, sorry, I missed out that line. REMI is enabled and configured.
    – Winters
    Jun 3, 2014 at 12:37

1 Answer 1


So on my CentOS 6 box I get offered php-mcrypt from either REMI or EPEL (Remi has the newer version):

 php-mcrypt                      x86_64                      5.3.3-3.el6                         epel                          19 k

 php-mcrypt                      x86_64                      5.4.29-1.el6.remi                      remi                       51 k

So I would say the first things to check are to make sure you have the right version of the repos installed and make sure they are enabled:

Check your CentOS version by doing:

cat /etc/redhat-release

You should see something like:

CentOS release 6.5 (Final)

If it says CentOS 6 you need the el6 repos, CentOS 5 would be el5.


vim /etc/yum.repos.d/remi.repo

In the file you should see entries similar to this:

name=Les RPM de remi pour Enterprise Linux 6 - $basearch

Ensure that you have the right version (in other words make sure the right number is in the mirrorlist line, if it is wrong you will need to remove and add the correct repo) and that the value next to enabled is set to 1. Check the EPEL file as well (it will be in the same folder as REMI, just called epel.repo). Then save the file and try running the yum install again and see if it finds the packages.

You must log in to answer this question.