• 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

Installing MCrypt on Plesk 10.3.1 with PHP 5.3.3

B

basslion

Guest
Okay,

Well i managed to upgrade my server through Plesk control Panel to Plesk 10.3.1 from 10.1. All is good and i also installed PHP 5.3.3 in the process as my website needs this to function.

Question is how do install Mcrypt as an extension to PHP?
 
Got the same problem.

Is there anyone who could give an answer? I've already tried to add the extension mcrypt.so in the php.ini file, but that didn't make any change to the problem.
 
Me too. I had to remove mcrypt and mhash in order to be able to install php 5.3, tried installing again, but no luck
 
I have this output:

[root@server2 etc]# yum install php-mcrypt
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* atomic: www7.atomicorp.com
addons | 951 B 00:00
atomic | 1.9 kB 00:00
atomic/primary_db | 817 kB 00:00
base | 1.1 kB 00:00
extras | 2.1 kB 00:00
updates | 1.9 kB 00:00
updates/primary_db | 245 kB 00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-mcrypt.i386 0:5.3.8-1.el5.art set to be updated
--> Processing Dependency: php-common = 5.3.8-1.el5.art for package: php-mcrypt
--> Processing Dependency: libltdl.so.3 for package: php-mcrypt
--> Processing Dependency: libmcrypt.so.4 for package: php-mcrypt
---> Package php-mcrypt.x86_64 0:5.3.8-1.el5.art set to be updated
--> Running transaction check
---> Package libmcrypt.i386 0:2.5.8-4.el5.art set to be updated
---> Package libtool-ltdl.i386 0:1.5.22-7.el5_4 set to be updated
---> Package php-common.x86_64 0:5.3.8-1.el5.art set to be updated
--> Processing Dependency: php53-common = 5.3.3-1.el5_6.1 for package: php53
--> Processing Dependency: php53-common = 5.3.3-1.el5_6.1 for package: php53-xml
--> Processing Dependency: php53-common = 5.3.3-1.el5_6.1 for package: php53-mbstring
--> Processing Dependency: php53-common = 5.3.3-1.el5_6.1 for package: php53-cli
--> Processing Dependency: php53-common = 5.3.3-1.el5_6.1 for package: php53-imap
--> Processing Dependency: php53-common = 5.3.3-1.el5_6.1 for package: php53-gd
--> Processing Dependency: php53-common = 5.3.3-1.el5_6.1 for package: php53-pdo
--> Processing Dependency: php53-common = 5.3.3-1.el5_6.1 for package: php53-mysql
--> Running transaction check
---> Package php.x86_64 0:5.3.8-1.el5.art set to be updated
---> Package php-cli.x86_64 0:5.3.8-1.el5.art set to be updated
---> Package php-gd.x86_64 0:5.3.8-1.el5.art set to be updated
---> Package php-imap.x86_64 0:5.3.8-1.el5.art set to be updated
---> Package php-mbstring.x86_64 0:5.3.8-1.el5.art set to be updated
---> Package php-mysql.x86_64 0:5.3.8-1.el5.art set to be updated
---> Package php-pdo.x86_64 0:5.3.8-1.el5.art set to be updated
---> Package php-xml.x86_64 0:5.3.8-1.el5.art set to be updated
--> Processing Dependency: php53 >= 5.3.0 for package: php53-sqlite2
Package php-sqlite2 is obsoleted by php-sqlite, trying to install php-sqlite-5.3.8-1.el5.art.i386 instead
--> Processing Dependency: php53 for package: psa-php53-configurator
--> Running transaction check
---> Package php-sqlite.i386 0:5.3.8-1.el5.art set to be updated
--> Processing Dependency: libsqlite.so.0 for package: php-sqlite
--> Processing Dependency: php53 >= 5.3.0 for package: php53-sqlite2
Package php-sqlite2 is obsoleted by php-sqlite, trying to install php-sqlite-5.3.8-1.el5.art.i386 instead
---> Package psa-php53-configurator.x86_64 0:1.6.2-1.el5.art set to be updated
--> Running transaction check
--> Processing Dependency: php53 >= 5.3.0 for package: php53-sqlite2
Package php-sqlite2 is obsoleted by php-sqlite, trying to install php-sqlite-5.3.8-1.el5.art.i386 instead
---> Package sqlite2.i386 0:2.8.17-1.el5.art set to be updated
--> Finished Dependency Resolution
php53-sqlite2-5.3.2-11041315.x86_64 from installed has depsolving problems
--> Missing Dependency: php53 >= 5.3.0 is needed by package php53-sqlite2-5.3.2-11041315.x86_64 (installed)
Error: Missing Dependency: php53 >= 5.3.0 is needed by package php53-sqlite2-5.3.2-11041315.x86_64 (installed)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
 
Heeelppp

Hi, today i try to install and got this message:
yum install php-mcrypt
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* atomic: www7.atomicorp.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-mcrypt.i386 0:5.3.8-1.el5.art set to be updated
--> Processing Dependency: libltdl.so.3 for package: php-mcrypt
--> Processing Dependency: libmcrypt.so.4 for package: php-mcrypt
---> Package php-mcrypt.x86_64 0:5.3.8-1.el5.art set to be updated
--> Running transaction check
---> Package libmcrypt.i386 0:2.5.8-4.el5.art set to be updated
---> Package libtool-ltdl.i386 0:1.5.22-7.el5_4 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
php-mcrypt i386 5.3.8-1.el5.art atomic 45 k
php-mcrypt x86_64 5.3.8-1.el5.art atomic 47 k
Installing for dependencies:
libmcrypt i386 2.5.8-4.el5.art atomic 117 k
libtool-ltdl i386 1.5.22-7.el5_4 base 37 k

Transaction Summary
====================================================================================================================================
Install 4 Package(s)
Upgrade 0 Package(s)

Total size: 246 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
package libmcrypt-2.5.8-4.el5.centos.x86_64 (which is newer than libmcrypt-2.5.8-4.el5.art.i386) is already installed

Error Summary
-------------

It says that php-mcrypt its installed, but not loaded says magento....how i load it?

Thanks.
 
Last edited:
x ubuntu

Ubuntu: PHP mCrypt Installation

mCrypt is an encryption program used on Linux systems.

To install mCrypt for PHP5 on your Ubuntu Linux system:

sudo apt-get install php5-mcrypt

Then restart Apache with:

sudo /etc/init.d/apache2 restart

I needed to do this so that phpMyAdmin would have mcrypt available.

For more info about mcrypt, visit:

Official site
http://mcrypt.hellug.gr

PHP usage of mCrypt
http://www.php.net/manual/en/book.mcrypt.php
 
I also have the problem as following:


[root@ip-72-167-52-43 etc]# yum install php-mcrypt.i386
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-mcrypt.i386 0:5.1.6-15.el5.centos.1 set to be updated
--> Processing Dependency: php-api = 20041225 for package: php-mcrypt
--> Processing Dependency: php >= 5.1.6 for package: php-mcrypt
--> Running transaction check
---> Package php.i386 0:5.1.6-32.el5 set to be updated
--> Processing Dependency: php-cli = 5.1.6-32.el5 for package: php
---> Package php-common.i386 0:5.1.6-32.el5 set to be updated
--> Running transaction check
---> Package php-cli.i386 0:5.1.6-32.el5 set to be updated
--> Processing Conflict: php53-common conflicts php-common
--> Finished Dependency Resolution
php53-common-5.3.3-13.el5_8.i386 from installed has depsolving problems
--> php53-common conflicts with php-common
Error: php53-common conflicts with php-common
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
 
How to Install php-mcrypt on Plesk 10.3 / CentOS-6 / PHP5.3.3

Hi,
follow Lines help me to install 'php-mcrypt'

yum repolist

-----------------------------------
repo id repo name status
base CentOS-6 - Base 6.346
elrepo ELRepo.org Community Enterprise Linux Repository - el6 223
epel Extra Packages for Enterprise Linux 6 - x86_64 8.351
extras CentOS-6 - Extras 17
plesk103-base Plesk 10.3 - Base 99
plesk103-thirdparty Plesk 10.3 - Thirdparty 3
plesk103-updates Plesk 10.3 - Updates 0
updates CentOS-6 - Updates 1.185
repolist: 16.224
-------------------------
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum update
yum install php-mcrypt


some times enter 'y'

service httpd restart

finish, its works!

Edit: i needed this PHP Extension for install Magento Shop
enjoy :)
 
Last edited:
I think you need to install the version for your php:
yum install php53-mcrypt

Restart the web server and it is done!
/etc/rc.d/init.d/httpd restart

It worked for me.
 
Back
Top