How to install php-mcrypt on CentOs 6.3

You need EPEL repo to install php-mcrypt:


yum -y install http://mirror.us.leaseweb.net/epel/6/x86_64/epel-release-6-7.noarch.rpm
yum -y install php-mcrypt

Here is the code for installing EPEL repository on CentOS 6.4:

rpm -Uvh http://fedora.mirrors.pair.com/epel/6/x86_64/epel-release-6-8.noarch.rpm

Tags:

Add new comment

Filtered HTML

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
To