擐check linux臬血鋆php-mcrypt module1 E8 S+ r, ?6 `1 i0 S4 ^' `. ~8 U
- #rpm -qa | grep php-mcrypt
銴鋆賭誨蝣 亦∪隞句um摰鋆- w9 n) V4 g% d, j4 G ~( u
雿摰蝷箄牧︾hp-mcrypt臭摰鋆嚗潭臬瑁銝雿:
+ ~4 ^& B+ g0 ?( \3 v! L9 w7 J5 |for CentOS 6.x x86:: Q2 J4 u# l( |, [ W6 Q
- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm1 U! k8 K, g7 V+ N# m/ J* w
- # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm
+ Q, {6 D8 N; _0 I7 C - # wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
/ q. r% e6 m3 C# X+ v# ?& M8 l - # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣 ' i* {8 v! s6 y6 h* k
for CentOS 6.x x64
' T1 R% p' F! h1 P: c- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm' t k3 O- P y4 l; V# W
- # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm% V l* i! a: K& z# R: U- V
- # wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm: v+ B+ d: F9 ]6 L- K+ R1 n& N4 z
- # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣 瑁銝 #yum install php-mcrypt嚗雿甈∪箇曄憿% f1 W1 A0 F! X
- # yum install php-mcrypt1 z) g% }& n8 K% A' C/ r
- Loaded plugins: fastestmirror, refresh-packagekit
0 F) I9 h# d- b - Loading mirror speeds from cached hostfile
( `. i4 u* H+ |9 `: g - Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
銴鋆賭誨蝣 1 L+ H/ j5 @* K. q! P
% m5 z& X; V _( E! Z潭
% e. n- n: [0 s% p' K2 a- #vi etc/yum.repos.d/epel.repo
銴鋆賭誨蝣 - f7 k' |- u7 m' b5 P2 {+ K
撠[epel]畾萎 baseurl閮餉圾嚗銝血mirrorlistW儔嚗憒銝:! w: B0 O% J6 L; V8 L( O
baseurl% O0 c# g' d' ~3 M# W
#mirrorlist
2 p; p5 o% {. a' ?! F2 j# E$ W敺瑁銝 #yum install php-mcrypt嚗甈∠潮拙鋆摰嚗啣鋆憒銝璅∠
* p' b5 E6 h( G+ C( U$ O
1 X' P( ]6 _ [2 Z S3 J
% B- [1 ^) g6 U* r5 M+ ~. ~+ j# Y5 Y/ n
6 f* \' H. u$ V: N& F銝apacherestart嚗php-mcrypt module潛雿 |
|