• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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