擐check linux臬血鋆php-mcrypt module% _4 b# x& d/ c- C# M
- #rpm -qa | grep php-mcrypt
銴鋆賭誨蝣 亦∪隞句um摰鋆+ H& r y. C4 `$ ?
雿摰蝷箄牧︾hp-mcrypt臭摰鋆嚗潭臬瑁銝雿:/ Y4 x7 ~6 Y* l6 g+ G7 k4 r
for CentOS 6.x x86:6 S/ w& i2 [9 e4 ^4 J
- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm3 r* A6 F$ N& C4 g; T$ m6 H3 [
- # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm6 S$ f' R7 F T, Y: z
- # wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
1 C% \+ e' D& L1 D' E8 y - # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣 0 L$ t/ b( K% @- |# y. B
for CentOS 6.x x64/ N& x# U( T2 N2 L. b7 ]
- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
/ e. K5 m6 i5 W( v/ e8 z) b - # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
. b7 v6 p( I* {( D( Y - # wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
3 L' K+ I3 A1 `' g* f2 i' x - # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣 瑁銝 #yum install php-mcrypt嚗雿甈∪箇曄憿
5 c8 x' L8 ~( C) x- # yum install php-mcrypt
6 k/ t ]* {4 j, j! p9 O - Loaded plugins: fastestmirror, refresh-packagekit
K1 l8 c) @, |1 u7 ]: P1 k0 F - Loading mirror speeds from cached hostfile5 K7 f9 a5 r( ]/ J4 x& L4 x
- Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
銴鋆賭誨蝣 " r" P3 i% N0 z. Q/ h1 L
' y F* t3 _/ ^1 Y* _ y X
潭
a, K9 T6 H1 e+ g- #vi etc/yum.repos.d/epel.repo
銴鋆賭誨蝣 ( A/ J7 K8 f- @: [, P4 X
撠[epel]畾萎 baseurl閮餉圾嚗銝血mirrorlistW儔嚗憒銝:
6 I+ n2 H" |# | z) gbaseurl( R* e% I" V' g& a' Q
#mirrorlist, s( t3 C* v& r( Y
敺瑁銝 #yum install php-mcrypt嚗甈∠潮拙鋆摰嚗啣鋆憒銝璅∠
7 b; r# N1 X) | W" K3 {: A8 R) y* Q. E- B( _
/ ]; l, z. D. H0 V
0 d$ y" i: {5 ]9 E# _ ?9 C; s6 T銝apacherestart嚗php-mcrypt module潛雿 |
|