Topic: Error installing mcrypt CentOS 5.5 PHP 5.3.3

Hi Remi

I hope you are well and thank you for the work you've done.

I'm currently having a nightmare installing mcrypt on a Plesk server with CentOS 5.5 and PHP 5.3.3. I keep getting lots of missing dependencies. This is the output I'm getting when using yum install php-mcrypt:

psa-php53-configurator-1.6.3-cos5.build1200140606.16.x86_64 from installed has depsolving problems
  --> Missing Dependency: php53 is needed by package psa-php53-configurator-1.6.3-cos5.build1200140606.16.x86_64 (installed)
php53-sqlite2-5.3.2-11070811.i386 from installed has depsolving problems
  --> Missing Dependency: php53 >= 5.3.0 is needed by package php53-sqlite2-5.3.2-11070811.i386 (installed)
php53-mysql-5.3.3-22.el5_10.x86_64 from installed has depsolving problems
  --> Missing Dependency: php53-pdo is needed by package php53-mysql-5.3.3-22.el5_10.x86_64 (installed)
psa-php53-configurator-1.6.3-cos5.build1200140606.16.x86_64 from installed has depsolving problems
  --> Missing Dependency: php53-pdo is needed by package psa-php53-configurator-1.6.3-cos5.build1200140606.16.x86_64 (installed)
psa-php53-configurator-1.6.3-cos5.build1200140606.16.x86_64 from installed has depsolving problems
  --> Missing Dependency: php53-xml is needed by package psa-php53-configurator-1.6.3-cos5.build1200140606.16.x86_64 (installed)
php53-mysql-5.3.3-22.el5_10.x86_64 from installed has depsolving problems
  --> Missing Dependency: php53-common = 5.3.3-22.el5_10 is needed by package php53-mysql-5.3.3-22.el5_10.x86_64 (installed)
psa-php53-configurator-1.6.3-cos5.build1200140606.16.x86_64 from installed has depsolving problems
  --> Missing Dependency: php53-gd is needed by package psa-php53-configurator-1.6.3-cos5.build1200140606.16.x86_64 (installed)
psa-php53-configurator-1.6.3-cos5.build1200140606.16.x86_64 from installed has depsolving problems
  --> Missing Dependency: php53-mbstring is needed by package psa-php53-configurator-1.6.3-cos5.build1200140606.16.x86_64 (installed)
psa-php53-configurator-1.6.3-cos5.build1200140606.16.x86_64 from installed has depsolving problems
  --> Missing Dependency: php53-imap is needed by package psa-php53-configurator-1.6.3-cos5.build1200140606.16.x86_64 (installed)
Error: Missing Dependency: php53 is needed by package psa-php53-configurator-1.6.3-cos5.build1200140606.16.x86_64 (installed)
Error: Missing Dependency: php53 >= 5.3.0 is needed by package php53-sqlite2-5.3.2-11070811.i386 (installed)
Error: Missing Dependency: php53-common = 5.3.3-22.el5_10 is needed by package php53-mysql-5.3.3-22.el5_10.x86_64 (installed)
Error: Missing Dependency: php53-pdo is needed by package psa-php53-configurator-1.6.3-cos5.build1200140606.16.x86_64 (installed)
Error: Missing Dependency: php53-gd is needed by package psa-php53-configurator-1.6.3-cos5.build1200140606.16.x86_64 (installed)
Error: Missing Dependency: php53-imap is needed by package psa-php53-configurator-1.6.3-cos5.build1200140606.16.x86_64 (installed)
Error: Missing Dependency: php53-mbstring is needed by package psa-php53-configurator-1.6.3-cos5.build1200140606.16.x86_64 (installed)
Error: Missing Dependency: php53-pdo is needed by package php53-mysql-5.3.3-22.el5_10.x86_64 (installed)
Error: Missing Dependency: php53-xml is needed by package psa-php53-configurator-1.6.3-cos5.build1200140606.16.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

I'm not particularly great at this and I'm getting really confused with what I have to do. Are there any pointers you can give me to get me going in the right direction?

Re: Error installing mcrypt CentOS 5.5 PHP 5.3.3

You are using Plesk which heavily alters the distribution.
So you are not using CentOS anymore.

Plesk (psa-* packages) blocks the use of another php stack than the "php53" installed one.
And switching to another php stack will probably break the Plesk admin panel.

So you need to install php53-mcrypt (not php-mcrypt)

Else, as Plesk is a proprietary and commercial software, you should ask their support.

Remi.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi