在CentOS 6上安装php-mcrypt [英] Install php-mcrypt on CentOS 6

查看:206
本文介绍了在CentOS 6上安装php-mcrypt的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在试图安装php-mcrypt一段时间。每次我得到没有包php mcrypt可用。回到我。这是我尝试过的:

I have been trying to install php-mcrypt for a while now. Everytime I get the "No package php-mcrypt available." returned to me. Here's what I've tried:

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存储库。在这一点上我只是被骗了。我已遵循每个在网上找到的教程,并得到相同的错误。

I have made sure to install the EPEL repository. At this point I'm just stumped. I've followed EVERY tutorial I've found online and get the same error.

注意: Go Daddy VPS CentOS 6.4 64位,mcrypt安装完毕,但没有php-mcrypt。

Notes: Go Daddy VPS, CentOS 6.4 64-bit, mcrypt installed without a hitch, but no php-mcrypt.

推荐答案

只要一个人有兴趣的人。我能够想出来。这是一个更简单,然后我想。在WHM管理器下去:首页>>软件>> EasyApache(Apache更新)>>你有两个选项构建配置文件或自定义基于配置文件。我去自定义保持我当前的配置,然后按照页面上的说明。最后有一个地方添加和删除php模块。在那里你会发现太阳下的模块。只需选择所需的并重新生成配置文件。这真的很简单。

Just a heads up to anyone else who is interested. I was able to figure it out. It was alot simpler then i thought. Under the WHM manager go to: Home >> Software >> EasyApache (Apache Update) >> There you have two options "Build Profile" or "Customize Based On Profile". I went Customize to keep my current config then followed the instructions on the page. Eventually there was a place to add and remove php modules. There you will find ever module under the sun. Just select the one you want and rebuild the profile. It was really that simple.

我希望这可以帮助别人!

I hope this helps someone!

这篇关于在CentOS 6上安装php-mcrypt的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆