I installed php 5.3 and some modules using

yum install php53-{module-name} 

But mcrypt did not work.

I searched like this:

yum list php* | grep mcry 

The only package that came up was

php-mcrypt.x86-64 5.1.6-15.e15.centos.1 extras 

I have the same exact problem with mhash. The results for php are even more confusing.

I know this is probably a dumb question, but any help would be appreciated. I am used to Ubuntu's simple "apt-get install" and everything works. CentOS seems to be a lot more detail oriented.

Thanks.

EDIT: Here's what I tried:

yum install php53-mcrypt 

Result:

No package php53-mcrypt available 

And trying this:

yum install php-mcrypt 

Results in:

Error: php53-common conflicts with php-common 

Because php-mcrypt tries to get php-common as a dependency (?) and I am trying to use php 5.3 rather than the default php 5.1 on CentOS 5.7.

點閱: 48

By tony

自由軟體愛好者~喜歡不斷的思考各種問題,有新的事物都會想去學習嘗試 做實驗並熱衷研究 沒有所謂頂天的技術 只有謙虛及不斷的學習 精進專業,本站主要以分享系統及網路相關知識、資源而建立。 Github http://stnet253.github.io

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。

這個網站採用 Akismet 服務減少垃圾留言。進一步了解 Akismet 如何處理網站訪客的留言資料