Add mcrypt module to Plesk PHP 7.2 and newer
Add mcrypt module to Plesk PHP 7.2 and newer.
For previous PHP versions it's included out of the box.
Mcrypt 1.0.2 natively supports PHP 7.2+ (https://pecl.php.net/package/mcrypt/1.0.2)
It's, for example, required by Prestashop 1.7.x, which is quite popular among Plesk users.
Since Plesk Obsidian 18.0.49, published December 20th, 2022, the PHP configuration page that can be reached for every PHP version installed on the server through Tools & Settings > General Settings > PHP Settings has a new feature: The PECL installer! You can now install PECL extensions for PHP through that installer. As this new option became available, it is no longer necessary to provide native support for various kinds of extensions such as mcrypt.
-- PD
-
Holger Schramm commented
mcrypt is an extension which is no longer maintained (https://pecl.php.net/package/mcrypt). Generally you don't want this. If so, than install it via pecl and you are on your very own. php apps which use this extension should have moved avail very long ago. but at magento this is not suprising.
-
Durieu François commented
how come i can select Magento inside of Plesk as an application but its missing components?
and i love the " it is no longer necessary to provide native support for various kinds of extensions such as mcrypt." XD
-
Anonymous commented
I have been using Plesk for many years, and paying for licenses for years and now suddenly I got problem in my sites. I could not believe it how can Plesk remove mcrypt???
-
Anonymous commented
But I cannot believe it, why is it removed in first place?
-
Ryan Johnson commented
This plugin is required for Magento. Making it this difficult to get Magento installed is ridiculous.
-
Ryan Johnson commented
Absolutely ridiculous. Should be shipped by default like it used to.