install centos php mcryptyum

Asked 2 years ago, Updated 2 years ago, 134 views

php.x86_64 7.0.2-1.el7.remi @remi-php70
php-cli.x86_64 7.0.2-1.el7.remi @remi-php70
php-common.x86_64 7.0.2-1.el7.remi @remi-php70
php-fpm.x86_64 7.0.2-1.el7.remi @remi-php70
php-json.x86_64 7.0.2-1.el7.remi @remi-php70
php-mysqlnd.x86_64 7.0.2-1.el7.remi @remi-php70
php-pdo.x86_64 7.0.2-1.el7.remi @remi-php70
php-pecl-msgpack.x86_64 2.0.0-1.el7.remi.7.0 @remi-php70
php-xml.x86_64 7.0.2-1.el7.remi @remi-php70
php70-php-common.x86_64 7.0.7-1.el7.remi @remi-safe
php70-php-json.x86_64 7.0.7-1.el7.remi @remi-safe
php70-php-mcrypt.x86_64 7.0.7-1.el7.remi @remi-safe

The above is the installed yum history.um.
I installed the mcrypt extension module with yum The previous version is 7.0.2, but the additional mcrypt is 7.0.7.
I think it's because of this version, but the problem is that running results in a Call to undefined function mcrypt_create_iv() error.
I don't know how to reset the old 7.0.2 version of the repository.

Is there no problem if I install mcrypt with the existing version 7.0.2? In order to do that, please answer me how to set up the storage.

centos php mcrypt yum

2022-09-22 21:18

1 Answers

It's a self-answer.

I think it's a version problem. It's 7.0.7, so it's working fine.

libmcrypt.x86_64 2.5.8-13.el7 @epel
php-mcrypt.x86_64 7.0.7-1.el7.remi @remi-php70
libmcrypt-devel.x86_64 2.5.8-13.el7 epel
libtomcrypt.x86_64 1.17-23.el7 epel
libtomcrypt-devel.x86_64 1.17-23.el7 epel
libtomcrypt-doc.noarch 1.17-23.el7 epel
php56-php-mcrypt.x86_64 5.6.22-1.el7.remi remi-safe
php70-php-mcrypt.x86_64 7.0.7-1.el7.remi remi-safe
php71-php-mcrypt.x86_64 7.1.0-0.1.alpha1.el7.remi remi-safe

The above is my centos mcrypt installable list.

php-mcrypt.x86_64
php70-php-mcrypt.x86_64
The above two are identical in version 7.0.7-1.el7.remi.

Strangely, however, the same php-mcrypt.x86_64 as the existing php installation repo is installed and operated. But even if the version is the same, is it because php70-php-mcrypt.x86_64 is different from the existing repo? It can be installed, but it doesn't work. (phpinfo does not load.)


2022-09-22 21:18

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.