擐check linux臬血鋆php-mcrypt module Y S/ t' C: m3 ]* s! ?6 Q
- #rpm -qa | grep php-mcrypt
銴鋆賭誨蝣 亦∪隞句um摰鋆7 p: [# j& T) L# d
雿摰蝷箄牧︾hp-mcrypt臭摰鋆嚗潭臬瑁銝雿:; k; }+ _' ~' F
for CentOS 6.x x86:
$ p! Z. A* ?8 [) B, i4 O' ~- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm% f4 ^6 C1 g) P
- # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm
& t9 E, k1 K! y' ?, X# i5 G - # wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm4 G6 r) N; |( Y: }, b! ^
- # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣 ( T$ D% u' G0 \* A: ~' o
for CentOS 6.x x64
D; ^0 ?9 {% Q) i( m- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
7 H1 X1 k. W$ Q8 M. ~ G - # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm3 U2 t& Z1 m% v2 C6 M+ L
- # wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
6 [& j$ H2 ~+ [$ n - # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣 瑁銝 #yum install php-mcrypt嚗雿甈∪箇曄憿2 Y" r/ {* O$ h
- # yum install php-mcrypt: X5 Q; I! a8 L
- Loaded plugins: fastestmirror, refresh-packagekit" X) s" O. I- E
- Loading mirror speeds from cached hostfile
4 f4 L( A, R# }% G4 E - Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
銴鋆賭誨蝣 ' F3 l$ v& H1 A/ q
/ h3 ], o& b+ N9 C( f' H潭1 j/ L u- [" ?
- #vi etc/yum.repos.d/epel.repo
銴鋆賭誨蝣
. f" H+ @: }& d( p, I* c \3 X撠[epel]畾萎 baseurl閮餉圾嚗銝血mirrorlistW儔嚗憒銝:
( j- @2 [( y0 \: }0 w7 G1 pbaseurl
( n9 _: W" ^' B#mirrorlist
4 k) w2 ?$ U' w) J敺瑁銝 #yum install php-mcrypt嚗甈∠潮拙鋆摰嚗啣鋆憒銝璅∠
& k- p& I# c! ]& J2 w' A. S
% |, }+ E3 B9 m u
\( ~: S- w' o) V1 D
& I" \/ I; s/ G0 u' Y6 s
銝apacherestart嚗php-mcrypt module潛雿 |
|