• 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

Installation mcrypt failed

strupde

New Pleskian
Hello all,

i have following system:
Version > Parallels Plesk Panel v11.0.9_build110120608.16 os_CentOS 6
OS > CentOS 6.2 (Final)
PHP > 5.3.3

I want to install mcrypt with:
yum install php-mcrypt

I get following messages:
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php54w-mcrypt.x86_64 0:5.4.5-1.w6 will be installed
--> Processing Dependency: php-api = 20100412 for package: php54w-mcrypt-5.4.5-1.w6.x86_64
--> Running transaction check
---> Package php54w-common.x86_64 0:5.4.5-1.w6 will be installed
--> Processing Conflict: php54w-common-5.4.5-1.w6.x86_64 conflicts php-common < 5.4.0
--> Finished Dependency Resolution
Error: php54w-common conflicts with php-common
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

How i can solve this problem?
 
It is possible to install mcrypt without PHP 5.4? How?
.. to install mcrypt the system install 5.4 automatically?
 
Do a 'yum search mcrypt'. If it yields something like php5-mcrypt or php53-mcrypt you probably should be able to install it. You can also try to temporarily downgrade your repository to CentOS 6.2, but I suppose you use EPEL to get php-mcrypt and I didn't find any old EPEL repositories from the get go.
 
Back
Top