• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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