• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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