mcrypt php extension on PHP 7.3
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.
root@server [~]# /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-
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/opt/cpanel/ea-php73/root/usr/bin/pecl install channel://pecl.php.net/mcrypt-1.0.20 -
The mcrypt library has been declared DEPRECATED since PHP 7.1. You can do manual installation with pecl. 0 -
Glad you were able to get it resolved @Zoltan Szabo but @vacancy is correct mcrypt has been deprecated since PHP 7.1 in favor of OpenSSL you can see this here: PHP: Deprecated features in PHP 7.1.x - Manual Thanks! 0
Please sign in to leave a comment.
Comments
3 comments