I am running Plesk v8.2.0 and I have a program that needs mcrypt module installed but I cant find any relevent infromation on how to get mcrypt setup on Plesk. It is on a Unix based server.
Does anyone have any ideas on how to set this up?
Any infromation would be greatly appreciated
3
Answers
It depends on the OS. I don’t think Plesk has a module or a drop-in solution for mcrypt.
You might find more answers at serverfault.
https://serverfault.com/questions/60787/howto-make-mcrypt-and-php-work-together-on-centos
Mcrypt is a PHP module, and typically you can download this in some kind of package format.
On RedHat, CentOS, or Fedora, I would suggest using the IUS repository. Otherwise you can look for the distribution, and php-mcrypt and there is likely a package available for it. If not, you can always compile it from source: http://www.php.net/manual/en/mcrypt.installation.php
If you do compile it from source, be sure to set php on the skip list (RPM-based distribution) so that it is not updated automatically, as that will break it’s functionality, until it is recompiled.
From command line, do something like…
yum install php-mcrypt.x86_64
If that doesn’t work, then maybe do…
.. to find the exact name of the file you want to install.