Installing mcrypt on CentOS via EPEL

I have a Media Temple DV 4.0 running CentOS 5.5 which needed php-mcrypt.

yum install php-mcrypt fails with a conflict between php-common and php53-common. Here’s how to to get php53-mcrypt via EPEL.

First download the repo rpm: wget

Note CentOS 6 has a different rpm.

Install the repo: rpm -ivh epel-release-5-4.noarch.rpm has this warning about EPEL:
“So, make SURE you are using the Priorities yum plugin if you are using EPEL….”

So, let’s do that:
yum install yum-priorities

Check to make sure it’s enabled:
cat /etc/yum/pluginconf.d/priorities.conf

and add the priority rules per, setting the default repos high and EPEL low.
vi /etc/yum.repos.d/*

Now we can install the module: yum install php53-mcrypt.

/etc/init.d/httpd graceful and you’re done.

No Comments

No comments yet.

Comments RSS

Sorry, the comment form is closed at this time.

powered by WordPress     themed by Mukkamu     presented by     everything else by steve hulet