mcrypt php extension on PHP 7.3

Zoltan Szabo

Active Member
Jul 13, 2017
41
7
8
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
 

Zoltan Szabo

Active Member
Jul 13, 2017
41
7
8
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.
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