我一直在尝试安装 php-mcrypt 一段时间。每次我得到“没有可用的包 php-mcrypt”。回到我身边。这是我尝试过的:
root@ip-********** [~]# yum install php-mcrypt --enablerepo=centosplus (<- both with and without this)
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: p3plmirror01.prod.phx3.secureserver.net
* centosplus: p3plmirror01.prod.phx3.secureserver.net
* epel: mirrors.solfo.com
* extras: p3plmirror01.prod.phx3.secureserver.net
* updates: p3plmirror01.prod.phx3.secureserver.net
centosplus | 3.5 kB 00:00
centosplus/primary_db | 746 kB 00:00
Setting up Install Process
No package php-mcrypt available.
Error: Nothing to do
我已确保安装 EPEL 存储库。在这一点上,我只是难住了。我遵循了我在网上找到的每一个教程并得到了同样的错误。