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!

mcrypt php extension on PHP 7.3

Discussion in 'EasyApache' started by Zoltan Szabo, Mar 8, 2019.

  1. Zoltan Szabo

    Zoltan Szabo Active Member

    Joined:
    Jul 13, 2017
    Messages:
    41
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Hungary
    cPanel Access Level:
    Root Administrator
    Dear All,

    I still have that 3rd party stuff running mcrypt, thus switching to a newer PHP always needs mcrypt install.
    I tried to install it to php 7.3 and got this error.

    Code:
    [email protected] [~]# /opt/cpanel/ea-php73/root/usr/bin/pecl install channel://pecl.php.net/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.2
    No valid packages found
    install failed
     
  2. Zoltan Szabo

    Zoltan Szabo Active Member

    Joined:
    Jul 13, 2017
    Messages:
    41
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Hungary
    cPanel Access Level:
    Root Administrator
    Seems like there is newer package v1.0.2 link here PECL :: Package :: mcrypt

    So just changed install command to this to work with php7.3
    Code:
    /opt/cpanel/ea-php73/root/usr/bin/pecl install channel://pecl.php.net/mcrypt-1.0.2
     
  3. vacancy

    vacancy Well-Known Member

    Joined:
    Sep 20, 2012
    Messages:
    279
    Likes Received:
    70
    Trophy Points:
    28
    cPanel Access Level:
    Root Administrator
    The mcrypt library has been declared DEPRECATED since PHP 7.1.

    You can do manual installation with pecl.
     
  4. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,502
    Likes Received:
    509
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice