• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Resolved PHP warning after mcrypt installation

Xyn Host

New Pleskian
I am getting this Error after following this thread to install mcrypt:

How to install the php-mcrypt module on a Plesk server

I replaced7.2 with 7.3 everywhere in the commands.

Still this error is showing on the Domains which are using PHP 7.3 now.

  • PHP Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /opt/plesk/php/7.3/lib64/php/modules/mcrypt.so (/opt/plesk/php/7.3/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory), /opt/plesk/php/7.3/lib64/php/modules/mcrypt.so.so (/opt/plesk/php/7.3/lib64/php/modules/mcrypt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 Success: Plugin already updated.
 
You can't follow this article for PHP7.3 because you'll see:

# /opt/plesk/php/7.3/bin/pecl install mcrypt-1.0.1
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
pecl/mcrypt requires PHP (version >= 7.2.0, version <= 7.3.0, excluded versions: 7.3.0), installed version is 7.3.7
No valid packages found
install failed

You have to install the latest mcrypt version 1.0.2 with PHP7.3 support:

# /opt/plesk/php/7.3/bin/pecl install mcrypt-1.0.2
 
Back
Top