擐check linux臬血鋆php-mcrypt module* j- B T; v7 Y! A1 f( `
- #rpm -qa | grep php-mcrypt
銴鋆賭誨蝣 亦∪隞句um摰鋆
6 [6 q# v7 x% i1 X1 {雿摰蝷箄牧︾hp-mcrypt臭摰鋆嚗潭臬瑁銝雿:
. x4 H. D& O% N: |for CentOS 6.x x86:
: N. n0 B# E; a5 _; F$ V! ]- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
3 ^8 H) y2 g# I) |( O. X% @# J - # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm" W6 `: @ t& h; a
- # wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm" l8 y! Q$ T+ [4 |; `. j: P
- # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣
4 n8 P% q. o' h) D( O Qfor CentOS 6.x x64
: P' T% o. [: h- # wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
; T5 ?/ X, D3 p* {( s - # rpm -ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm% G6 v7 ], Z% U! T7 M# r6 o z, t
- # wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm6 n& }! d+ {0 _2 P/ K: |% f6 \
- # rpm -ivh epel-release-6-8.noarch.rpm
銴鋆賭誨蝣 瑁銝 #yum install php-mcrypt嚗雿甈∪箇曄憿- D) `& m4 P8 Z( b" t
- # yum install php-mcrypt
. S& i5 b a5 J3 j% Y - Loaded plugins: fastestmirror, refresh-packagekit
% ?( o% K5 n" \, B% \+ G. }) B5 f - Loading mirror speeds from cached hostfile) u, ]$ c9 o1 j- ^& d7 b% H
- Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
銴鋆賭誨蝣 " U( V" Z) E8 n- `
[1 }$ _4 N E2 Y& G4 [潭
8 C8 N2 H1 `( S* D. t: v# u- #vi etc/yum.repos.d/epel.repo
銴鋆賭誨蝣 6 }: W/ D1 d" I8 A: Y6 Y
撠[epel]畾萎 baseurl閮餉圾嚗銝血mirrorlistW儔嚗憒銝:' |/ `8 b! p2 a
baseurl }8 u& f. q8 G6 i+ g7 B* T
#mirrorlist
9 X; B" z2 M6 {' |敺瑁銝 #yum install php-mcrypt嚗甈∠潮拙鋆摰嚗啣鋆憒銝璅∠- H/ \$ ^* a6 p5 |9 d" ~
& n; W' j: @& p; B# s# n. {
- ^$ d- C2 v& M9 ~; g% X
- |3 T1 X/ M" N( }; w8 D3 B銝apacherestart嚗php-mcrypt module潛雿 |
|