Skip to content

Mcrypt install on Plesk 9.5

The mcrypt extension provides encryption and we can be very useful for projects that require this type of functions.

We have installed CentOS 5.2 and Plesk 9 by default, with php 5.2.x.
To install this extension repositories will use Atomic Rocket Turtle
To perform atomic installation execute the following command:

wget -q -O - http://www.atomicorp.com/installers/atomic | sh

Then run the command to install the required package, to find a system 64 we use the following command bits:

yum install php-mcrypt.x86_64

And restart the http:

/etc/init.d/httpd reload

At this point not to advise unforeseen upgrades to delete the repository Atomic Rocket Turtle and maintain the official repositories, so we must remove the package repository for the Atomic, with the command:

rpm –e atomic-release-1.0-12.el5.art

If we are cleaning fanatics on hand can delete files in the root folder:

atomic-release-1.0-12.el5.art.noarch.rpm
RPM-GPG-KEY.art.txt

If you do not know the exact name of the package can run the following command and we will list the latest packages installed:

rpm -qa --last

If we want to ensure its removal in the / etc / yum.repos.d should not be the file or by running the command atomic.repo:

yum repolist

give us a list of repositories charged

 

Source: http://www.syscover.com/servidores-linux/instalar-mcrypt-sobre-php-5-2-x-en-centos-5-2-64bits-y-plesk-9-x