擐check linux臬血鋆php-mcrypt module
$ y3 O, f/ H/ T: t9 R* I1 ]- #rpm -qa | grep php-mcrypt
銴鋆賭誨蝣 亦∪隞句um摰鋆
+ h: V8 s% P5 w! Z2 j; v3 ]+ @雿摰蝷箄牧︾hp-mcrypt臭摰鋆嚗潭臬瑁銝雿:
* r3 z d% f+ T$ d2 Afor CentOS 6.x x86:
7 o. C8 k3 }/ T4 h7 F) O* G- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm3 z M$ P& u5 d" S
- # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm" z! I4 X) I# c( s8 A# Y# A
- # wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm( C1 U1 h: R' B. O. C
- # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣
' `" ?: }! S, m" Lfor CentOS 6.x x649 f l1 z! d% s1 a# ~; w' N
- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
6 g# E! j: P* v! P. H - # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm9 I8 |: R; w7 C, w' c
- # wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm2 G7 z: T6 E; d8 L
- # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣 瑁銝 #yum install php-mcrypt嚗雿甈∪箇曄憿& ^8 d: M8 T' L
- # yum install php-mcrypt
; a7 c2 K: i! [6 I8 X G1 Q - Loaded plugins: fastestmirror, refresh-packagekit7 O, I6 r% U( ^2 h1 u1 K; |+ _
- Loading mirror speeds from cached hostfile# w! J1 N1 j' S+ L4 e- E
- Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
銴鋆賭誨蝣 - n7 O( N/ W8 R6 y! d4 j
6 @1 [: k1 t; O2 U潭
- _. G( S* [: k6 E- #vi etc/yum.repos.d/epel.repo
銴鋆賭誨蝣 * q* o( k. `7 v4 [0 s4 W7 H' n& e
撠[epel]畾萎 baseurl閮餉圾嚗銝血mirrorlistW儔嚗憒銝:% T, _7 i+ y8 j$ k! q
baseurl
4 c$ V/ r4 ~# q8 O1 P, ?3 |" R#mirrorlist
2 \ b8 D! \/ p敺瑁銝 #yum install php-mcrypt嚗甈∠潮拙鋆摰嚗啣鋆憒銝璅∠
4 J1 u. Y! G4 k* z
7 j- ]$ Q9 ^2 c& O4 k, A5 u
* j5 D9 M& ^ ~: ~
7 w/ `3 ?8 j# c, z, [' o銝apacherestart嚗php-mcrypt module潛雿 |
|