mokerosan

Registered
Nov 2, 2018
4
0
1
chile
cPanel Access Level
Root Administrator
Hola a todos, tengo el siguiente problema, cuando trato de instalar el modulo "PHP Pecl mcrypt", me envia el siguiente error:
"Failed to download pecl/mcrypt within preferred state "stable", latest release is version 1.0.1, stability "snapshot", use "channel://pecl.php.net/mcrypt-1.0.1" to install
install failed"

Cuando dice use "channel://pecl.php.net/mcrypt-1.0.1", quiere decir que use esas lineas en el terminal de mi vps?

Muchas Gracias.

CENTOS 7.5 kvm [cpanel] v74.0.10
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
Hola @mokerosan

Recibirá este mensaje de error porque mcrypt ha quedado obsoleto en PHP 7.1 y eliminado en PHP 7.2 y los enlaces para la biblioteca libmcrypt (lo que está instalando con el instalador del módulo) están en el estado de "instantánea" que se puede ver revisando: PECL :: Package :: mcrypt

Si esto es algo que debe tener en su servidor, puede instalarlo manualmente. Le aconsejaría que revise lo siguiente: PHP PECL - Version 74 Documentation - cPanel Documentation y Adding pecl extension manually issue

=======================================================================

Hi @mokerosan

You're getting this error message because mcrypt has been deprecated in PHP 7.1 and removed in PHP 7.2 and the bindings for the libmcrypt library (what you're installing with the module installer) are in the state of "snapshot" which can be seen by checking out : PECL :: Package :: mcrypt

If this is something you have to have on your server you can install it manually I would advise checking out the following: PHP PECL - Version 74 Documentation - cPanel Documentation and Adding pecl extension manually issue