• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

mcrypt install on CentOS 7

RyanSett

New Pleskian
Hello,

We are using Plesk Parallels 12.0.18 and CentOS 7 r3.10.0

I've tried to find anything I could on the shell commands to run to install this.

We have an application that requires Mcrypt library to be installed. Whats the newer command for CentOS 7 and Plesk?
 
Code:
cd /tmp/ && wget wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm
sudo rpm -Uvh epel-release-7*.rpm

sudo yum install php-mcrypt*

Restart Apache and php5-fpm and NGINX, if it is installed as well. Smile and get yourself another coffee. ^^


hint: Use a site like "http://www.rpmfind.net/linux/rpm2html/search.php" to search for rpms.
 
Code:
yum install http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm && yum install php-mcrypt* && systemctl restart httpd.service

This should be all that is needed if using apache as backend.
 
What if my CentOS with Plesk Panel 12 dont give me access to root account? How to install mcrypt package?
 
You can check Plesk 12.1.18 preview version. Multiple PHP versions are bundled with Plesk. All popular extensions (including mcrypt) will be available out of the box.
 
Back
Top