• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Resolved Mcrypt with 7.2

CobraArbok

Regular Pleskian
I installed php versions 7.0.x, 7.1.x, 7.2.x.
php -v reports version 7.0.

With php 7.2 I have to install applications that use mcrypt, deprecated with version 7.1 and 7.2.
If I install php-mycrypt I see it appear among the modules of version 7.0, but not in the others.

How can I install it for 7.1 and 7.2?
Thanks in advance.
 
@Min
In the first page, with sudo apt-get -y install php7.2-dev the message is Unable to locate package php7.2-dev

In the second page, the command pecl7.2-sp is not found.

@IgorG
I'm in Ubuntu 16.04
With sudo apt install plesk-php72-mcrypt is unable to locate package
With sudo apt install plesk-php71-mcrypt is already the newest version and I see mcrypt in php settings, but only in php 7.1 version, not in 7.2 where I need.
 
Try instal all necessary packages like make, gcc, libmcrypt, plesk-php72-devel, and then compile module with

# /opt/plesk/php/7.2/bin/pecl install channel://pecl.php.net/mcrypt-1.0.1
 
Back
Top