擐check linux臬血鋆php-mcrypt module
: h" y8 Y3 B( a0 L3 \/ V- #rpm -qa | grep php-mcrypt
銴鋆賭誨蝣 亦∪隞句um摰鋆
& q- E. A) W6 X- H( F! ?, f8 i/ z& b雿摰蝷箄牧︾hp-mcrypt臭摰鋆嚗潭臬瑁銝雿:' c% f6 L! Z1 a3 f0 H
for CentOS 6.x x86:: L" ~6 o `# i x6 {* @' t6 `
- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
1 W! Q% ^) K# z& y0 H3 l! U - # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm
% f; J6 ~2 P) o, ` - # wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
, ^+ Q _5 r- U - # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣
6 S( [% r% t a! [8 ~0 j$ _for CentOS 6.x x64
" P# ?7 q( Q# l0 Y1 K$ W; q; a5 h- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
i3 U) ?# `7 T4 i: o* t0 b8 L# ` - # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
0 ~9 u2 F; i/ |2 L - # wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm& x! ?- q7 h0 o8 p: N
- # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣 瑁銝 #yum install php-mcrypt嚗雿甈∪箇曄憿
' b9 L, \6 j& Y" R- # yum install php-mcrypt
: v& k" h9 F. W8 ^2 l - Loaded plugins: fastestmirror, refresh-packagekit- ], w( h- t) q& h+ ~ @+ ^" [
- Loading mirror speeds from cached hostfile
- b4 E6 ?1 J2 O - Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
銴鋆賭誨蝣 ' r4 E* C- X; w) b$ t
, ^! j5 K+ x; l' v潭
( W/ z3 x5 f2 ]4 T/ w- #vi etc/yum.repos.d/epel.repo
銴鋆賭誨蝣 1 I$ L1 ^6 R: [, v! r/ }$ F
撠[epel]畾萎 baseurl閮餉圾嚗銝血mirrorlistW儔嚗憒銝:7 `8 N: L l( z, ]
baseurl
; `9 |# J# `* f" P7 _% A$ h#mirrorlist5 o3 P8 Y# f0 T) M8 n
敺瑁銝 #yum install php-mcrypt嚗甈∠潮拙鋆摰嚗啣鋆憒銝璅∠
8 s' F7 `# m$ ~+ y
% }0 k1 Y* t, @; \6 k0 }3 E$ ^7 e
) s/ i$ y m/ Y, o# Y9 l7 e! A
9 I' P6 R# E' `) q2 v銝apacherestart嚗php-mcrypt module潛雿 |
|