PHP / Redhat7:我在哪里可以找到php-mcrypt包?

时间:2017-02-15 05:33:43

标签: php redhat

我需要使用该模块。我试着搜索它并且它不可用!

我已经读过mcrypt_encrypt已在PHP7 +中解密。

但是我也读过mcrypt_encrypt和openssl_encrypt不会给出相同的输出。和第三个应用程序(被供应商抛弃)我传递这个值我希望我用过" MCRYPT_3DES"密

这是我尝试运行的代码:

$text = mcrypt_encrypt(MCRYPT_3DES, $key, $tempstring, MCRYPT_MODE_CBC, '');

有什么想法吗?感谢

[user@my-here.com]$ sudo yum list vailable "*mcrypt*"
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
              : manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Error: No matching Packages to list

[user@my-here.com]$ sudo yum list vailable "*mbstring*"
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
              : manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Installed Packages
php-mbstring.x86_64           5.4.16-42.el7  @development-RHEL-7-x86_64-Optional
Available Packages
php54-php-mbstring.x86_64     5.4.40-4.el7   development-RHEL-7-x86_64-RHSCL    
php55-php-mbstring.x86_64     5.5.21-5.el7   development-RHEL-7-x86_64-RHSCL    
rh-php56-php-mbstring.x86_64  5.6.25-1.el7   development-RHEL-7-x86_64-RHSCL    
rh-php70-php-mbstring.x86_64  7.0.10-2.el7   development-RHEL-7-x86_64-RHSCL   

0 个答案:

没有答案