擐check linux臬血鋆php-mcrypt module
8 |; e- S) {7 I) D- #rpm -qa | grep php-mcrypt
銴鋆賭誨蝣 亦∪隞句um摰鋆6 S" @! P' p% z4 Y1 p6 S1 {, ^: z+ V6 @
雿摰蝷箄牧︾hp-mcrypt臭摰鋆嚗潭臬瑁銝雿:
) k) a. s+ }. G. N) b6 Wfor CentOS 6.x x86:
4 X3 E8 Q7 L& ]1 B/ e- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
, E2 t G w+ a: u - # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm
6 ~, j% J1 F' D8 `" Y - # wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm: w2 z! H2 Z+ |. i& e# a& s
- # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣
6 K! n: r- \: j0 N. Mfor CentOS 6.x x64
, Q$ P% F% l9 _- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm& n4 Y% b" @, h+ _+ m# H2 E
- # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm. E7 \ b! a8 \+ p" y: }
- # wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm% l' r, t$ c" p. }" n
- # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣 瑁銝 #yum install php-mcrypt嚗雿甈∪箇曄憿
6 q3 F2 L2 T/ h. R- f- # yum install php-mcrypt9 e( F( r- d. \, J
- Loaded plugins: fastestmirror, refresh-packagekit" o' X% t- F: \4 B! b* b Q2 E. L
- Loading mirror speeds from cached hostfile8 f5 Y5 L) _* R, i9 J. s0 o
- Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
銴鋆賭誨蝣 + ]# a4 s3 z' c
* d& @& {; z! o2 q& }潭$ Y, X! L! p5 x. E9 X& Y; a3 y* f
- #vi etc/yum.repos.d/epel.repo
銴鋆賭誨蝣 0 A; {/ c A# T; S
撠[epel]畾萎 baseurl閮餉圾嚗銝血mirrorlistW儔嚗憒銝:
8 \# G7 s; f Z7 E( P' P5 xbaseurl$ H" B( y% @, _4 N4 a; F' N
#mirrorlist& g$ b: j" K0 P4 M$ v' I. i6 j
敺瑁銝 #yum install php-mcrypt嚗甈∠潮拙鋆摰嚗啣鋆憒銝璅∠
! w7 j& J. x9 |; A3 |$ E- m# k2 X% J; a
5 n7 G' a0 ^% W" @# l" F8 V, u3 y% r3 ^8 u# J3 J2 I
銝apacherestart嚗php-mcrypt module潛雿 |
|