擐check linux臬血鋆php-mcrypt module2 F; w: x' s0 v+ U
- #rpm -qa | grep php-mcrypt
銴鋆賭誨蝣 亦∪隞句um摰鋆% y7 y0 I& t+ J2 Q/ i7 i, l$ q
雿摰蝷箄牧︾hp-mcrypt臭摰鋆嚗潭臬瑁銝雿:9 ?0 B5 p5 [2 S, @
for CentOS 6.x x86:
7 J0 M* O* A6 _, ^; D' s- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm/ u- m* t9 l, f& B' t! Q
- # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm6 @" Z5 `2 e' Z2 g C( |
- # wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
2 x/ x3 m7 P4 f - # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣 - v7 y) ?* Z: o0 H8 w
for CentOS 6.x x64
3 z O# D7 m) n# g" Q$ N7 J P- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm8 u/ P. S3 g- W. J2 a: l$ p
- # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
: i: [: K+ J$ E+ I# _9 t% K- D8 ? - # wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm/ _) ~" {/ K! u
- # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣 瑁銝 #yum install php-mcrypt嚗雿甈∪箇曄憿
& L& S8 c/ L) n+ o& H- # yum install php-mcrypt3 o/ V, F& ^9 Q( u6 @5 b- g
- Loaded plugins: fastestmirror, refresh-packagekit4 m) s" T, i8 g* \/ x
- Loading mirror speeds from cached hostfile1 @- C, r+ h8 A7 i1 x- v
- Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
銴鋆賭誨蝣 + S& u( E* @9 o. e& ?/ k
+ p* P7 ?3 n& }) f' `
潭& A, C5 R2 b, n: A# b
- #vi etc/yum.repos.d/epel.repo
銴鋆賭誨蝣 # K: [ Y$ U! x1 \
撠[epel]畾萎 baseurl閮餉圾嚗銝血mirrorlistW儔嚗憒銝:2 H8 n! |2 ]5 C0 O, q# K6 d |
baseurl# [$ _* d3 J' X. i
#mirrorlist
0 _$ l. v, _8 ?5 W9 w敺瑁銝 #yum install php-mcrypt嚗甈∠潮拙鋆摰嚗啣鋆憒銝璅∠, Y c4 P' O, M. r
q! M8 y$ S0 d) a& e. c3 q
1 f/ W" q! m7 z6 i8 ^- _ x7 h7 l7 J; ~" B6 y
銝apacherestart嚗php-mcrypt module潛雿 |
|