擐check linux臬血鋆php-mcrypt module
4 [8 V$ \4 L9 d5 e- #rpm -qa | grep php-mcrypt
銴鋆賭誨蝣 亦∪隞句um摰鋆: m _7 C+ W+ w- `; X& |& z
雿摰蝷箄牧︾hp-mcrypt臭摰鋆嚗潭臬瑁銝雿:
$ f" {' n4 g' ` y- t0 ifor CentOS 6.x x86:
3 f( g3 F! k% n8 m- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
4 u( c, \% @# C5 M5 c- j- a! f - # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm) }9 Y9 d6 d3 k: w# Z) l( U
- # wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm+ P7 G$ F+ r6 S- d/ Y$ j: g* v
- # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣
5 S; T* m( n$ hfor CentOS 6.x x64
6 n9 F! G/ x; p( e- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm3 w" h+ A- q2 x5 ]& F
- # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
6 ^" r l4 u2 y. |4 o- `, d1 _/ f - # wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm; S9 ?1 T4 [& a9 y6 G3 F$ e
- # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣 瑁銝 #yum install php-mcrypt嚗雿甈∪箇曄憿 ]% Z' a. o4 r, g8 I3 `' |
- # yum install php-mcrypt0 C% |+ [# j, O! Z8 T$ H
- Loaded plugins: fastestmirror, refresh-packagekit
: n: n" N( `/ }9 U, V - Loading mirror speeds from cached hostfile
& h: l) m* L" ^. r; @8 Q4 y) M+ y$ r - Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
銴鋆賭誨蝣 ) [6 X+ Y! B' m" v% L' w. i
0 f; U; n( _' m$ P3 z/ j' b
潭
5 }4 [& a, k7 E- #vi etc/yum.repos.d/epel.repo
銴鋆賭誨蝣
/ b6 R$ C W, F# J* W5 ~撠[epel]畾萎 baseurl閮餉圾嚗銝血mirrorlistW儔嚗憒銝:
7 B) Q$ R3 @: X2 bbaseurl2 u( \5 R5 M/ u6 z+ J6 M4 V
#mirrorlist P ~9 Q% q% [* O5 t! S
敺瑁銝 #yum install php-mcrypt嚗甈∠潮拙鋆摰嚗啣鋆憒銝璅∠/ h$ I1 Y/ r$ b5 |% D
$ }/ y- g* ]* v5 V
$ ^7 q( y/ \0 a! M' t6 ^3 x- [- A# L/ r2 x! ]
銝apacherestart嚗php-mcrypt module潛雿 |
|