• 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

Adding mcrypt extension to php on plesk 11

Hi Dx3webs and thanks for your prompt reply.

I ran yum upgrade php as suggested but didn't get any errors. this was the output after running that command:

Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* atomic: mirror1.34sp.com
* base: ftp.heanet.ie
* extras: ftp.heanet.ie
* updates: ftp.heanet.ie
atomic | 3.4 kB 00:00
base | 3.7 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
161 packages excluded due to repository priority protections
Setting up Upgrade Process
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.4.28-34.el6.art will be updated
---> Package php.x86_64 0:5.4.35-41.el6.art will be an update
--> Processing Dependency: php-common(x86-64) = 5.4.35-41.el6.art for package: php-5.4.35-41.el6.art.x86_64
--> Processing Dependency: php-cli(x86-64) = 5.4.35-41.el6.art for package: php-5.4.35-41.el6.art.x86_64
--> Running transaction check
---> Package php-cli.x86_64 0:5.4.28-34.el6.art will be updated
---> Package php-cli.x86_64 0:5.4.35-41.el6.art will be an update
---> Package php-common.x86_64 0:5.4.28-34.el6.art will be updated
--> Processing Dependency: php-common(x86-64) = 5.4.28-34.el6.art for package: php-mbstring-5.4.28-34.el6.art.x86_64
--> Processing Dependency: php-common(x86-64) = 5.4.28-34.el6.art for package: php-xml-5.4.28-34.el6.art.x86_64
--> Processing Dependency: php-common(x86-64) = 5.4.28-34.el6.art for package: php-pdo-5.4.28-34.el6.art.x86_64
--> Processing Dependency: php-common(x86-64) = 5.4.28-34.el6.art for package: php-gd-5.4.28-34.el6.art.x86_64
--> Processing Dependency: php-common(x86-64) = 5.4.28-34.el6.art for package: php-imap-5.4.28-34.el6.art.x86_64
--> Processing Dependency: php-common(x86-64) = 5.4.28-34.el6.art for package: php-mcrypt-5.4.28-34.el6.art.x86_64
---> Package php-common.x86_64 0:5.4.35-41.el6.art will be an update
--> Running transaction check
---> Package php-gd.x86_64 0:5.4.28-34.el6.art will be updated
---> Package php-gd.x86_64 0:5.4.35-41.el6.art will be an update
---> Package php-imap.x86_64 0:5.4.28-34.el6.art will be updated
---> Package php-imap.x86_64 0:5.4.35-41.el6.art will be an update
---> Package php-mbstring.x86_64 0:5.4.28-34.el6.art will be updated
---> Package php-mbstring.x86_64 0:5.4.35-41.el6.art will be an update
---> Package php-mcrypt.x86_64 0:5.4.28-34.el6.art will be updated
---> Package php-mcrypt.x86_64 0:5.4.35-41.el6.art will be an update
---> Package php-pdo.x86_64 0:5.4.28-34.el6.art will be updated
--> Processing Dependency: php-pdo(x86-64) = 5.4.28-34.el6.art for package: php-mysql-5.4.28-34.el6.art.x86_64
---> Package php-pdo.x86_64 0:5.4.35-41.el6.art will be an update
---> Package php-xml.x86_64 0:5.4.28-34.el6.art will be updated
---> Package php-xml.x86_64 0:5.4.35-41.el6.art will be an update
--> Running transaction check
---> Package php-mysql.x86_64 0:5.4.28-34.el6.art will be updated
---> Package php-mysql.x86_64 0:5.4.35-41.el6.art will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
php x86_64 5.4.35-41.el6.art atomic 2.7 M
Updating for dependencies:
php-cli x86_64 5.4.35-41.el6.art atomic 2.6 M
php-common x86_64 5.4.35-41.el6.art atomic 934 k
php-gd x86_64 5.4.35-41.el6.art atomic 144 k
php-imap x86_64 5.4.35-41.el6.art atomic 80 k
php-mbstring x86_64 5.4.35-41.el6.art atomic 945 k
php-mcrypt x86_64 5.4.35-41.el6.art atomic 51 k
php-mysql x86_64 5.4.35-41.el6.art atomic 136 k
php-pdo x86_64 5.4.35-41.el6.art atomic 121 k
php-xml x86_64 5.4.35-41.el6.art atomic 171 k

Transaction Summary
================================================================================
Upgrade 10 Package(s)

I didn't go ahead with this when prompted as I wanted to check with you first.

Thanks again.
 
You won't see any errors till it tries to install..
there is no harm in attempting to upgrade php anyway UNLESS you are going from php 5.2 or 5.3 to 5.4 in which case try
yum upgrade opensll
or something similar
 
We're on PHP version 5.4.28 currently. I'm not sure that we should go to version 5.5. Up to which version will that command take us? I think it's 5.4.35 - is that correct?
 
OK, I ran that and your prediction was correct:
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID 4520afa9: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY.art.txt


The GPG keys listed for the "CentOS / Red Hat Enterprise Linux 6 - atomicrocketturtle.com" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.

I found this knowledgebase article: http://kb.odin.com/en/122498

Would you agree with that strategy to resolve?
 
I let it run automatically and am delighted to say autoupdate now updates correctly. Thanks for all your help Dx3webs. I really appreciate it.
 
Back
Top