Important Note:
This article is only to be followed on CentOS Cloud VMs - other operating systems may require other steps to enable 'mcrypt'.
CentOS
CentOS does not provide the php-mcrypt nor the php53-mcrypt package in the default repository: you will need to install the EPEL repository in order to install this package.
CentOS 7
# 64 Bit
wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm
rpm -ivh epel-release-7-8.noarch.rpm
CentOS 6
# 64 Bit
wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ivh epel-release-6-8.noarch.rpm
# 32 Bit
wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
rpm -ivh epel-release-6-8.noarch.rpm
CentOS 5
# 64 Bit
wget http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
rpm -ivh epel-release-5-4.noarch.rpm
# 32 Bit
wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
rpm -ivh epel-release-5-4.noarch.rpm
CloudLinux
CloudLinux distribution will have the package in the cloudlinx-updates repo and the following command can be used to install it:
yum install php53-mcrypt
Comments
0 comments
Article is closed for comments.