Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mcrypt php extension

Discussion in 'EasyApache' started by Nirjonadda, Dec 6, 2017.

  1. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    524
    Likes Received:
    14
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    mcrypt php extension are not supported to install in PHP 7.2, So now how to enable this Mcrypt PHP extension?

    NMkQD39fTiC3jNPGMFeZlQ.png
     
    #1 Nirjonadda, Dec 6, 2017
    Last edited: Dec 6, 2017
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,543
    Likes Received:
    38
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    Hi,

    The PHP developers deprecated mcrypt in version 7.1, and removed support in version 7.2. Applications should use either sodium or openssl for encryption needs.

    It may be possible to install mcrypt via PECL.
     
  3. Miguel G

    Miguel G Active Member

    Joined:
    Jun 4, 2015
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Twitter:
    How does this affect software as Wordpress? How do we enable mcrypt for php 7.2 using PECL without breaking EasyApache 4?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    41,516
    Likes Received:
    1,616
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    WordPress does not require mcrypt, so you shouldn't face any issues with WordPress unless specific third-party WordPress plugins make use of it. If you do decide to install the mcrypt PECL module for PHP 7.2, you'd need to do so using the following commands:

    Code:
    yum install libmcrypt
    yum install libmcrypt -devel
    /opt/cpanel/ea-php72/root/usr/bin/pecl install channel://pecl.php.net/mcrypt-1.0.1
    Thank you.
     
Loading...

Share This Page