• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question Mcrypt, on: PHP Version 7.4.13

Goldorak

New Pleskian
hello everyone, how to install, Mcrypt, on: PHP Version 7.4.13 Plesk 18 ... yum install php-mcrypt, does not work I find this error: No match for argument: php-mcrypt. Do you have a solution. Thank you . Centos8
 
hello everyone, how to install, Mcrypt, on: PHP Version 7.4.13 Plesk 18 ... yum install php-mcrypt, does not work I find this error: No match for argument: php-mcrypt. Do you have a solution. Thank you . Centos8
]# /opt/plesk/php/7.4/bin/pecl install mcrypt-1.0.4
Cannot load the ionCube PHP Loader - it was already loaded
PHP Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /o pt/plesk/php/7.4/lib64/php/modules/mcrypt.so (/opt/plesk/php/7.4/lib64/php/modul es/mcrypt.so: cannot open shared object file: No such file or directory), /opt/p lesk/php/7.4/lib64/php/modules/mcrypt.so.so (/opt/plesk/php/7.4/lib64/php/module s/mcrypt.so.so: cannot open shared object file: No such file or directory)) in U nknown on line 0
pecl/mcrypt is already installed and is the same as the released version 1.0.4
install failed
 
# apt-get install build-essential libmcrypt-dev plesk-php74-dev make gcc
# /opt/plesk/php/7.4/bin/pecl install mcrypt-1.0.4
# echo "extension=mcrypt.so" > /opt/plesk/php/7.4/etc/php.d/mcrypt.ini
# plesk bin php_handler --reread

After that mcrypt module should be loaded:

# /opt/plesk/php/7.4/bin/php -m | grep mcrypt
mcrypt
 
@IgorG hi,

Notice: Undefined variable: errstr in PEAR/Proxy.php on line 185
PHP Notice: Undefined variable: errstr in /opt/plesk/php/7.4/share/pear/PEAR/Proxy.php on line 185

Notice: Undefined variable: errno in PEAR/Proxy.php on line 185
PHP Notice: Undefined variable: errno in /opt/plesk/php/7.4/share/pear/PEAR/Proxy.php on line 185
No releases available for package "pecl.php.net/mcrypt"
install failed

why i getting this error every pecl install.
 
Back
Top