输入banner图图片脚本导航/分类

CentOS6上安装php-mcrypt扩展的方法

  1. [root@jbxue ~]# wget http://mirrors.sohu.com/fedora-epel/6/i386/epel-release-6-7.noarch.rpm
  2. [root@jbxue ~]# rpm -ivh epel-release-6-7.noarch.rpm

2,安装php-mcrypt

  1. [root@jbxue ~]# yum install php-mcrypt

另外,有用cenots 5系统的朋友,可以参考下在centos 5中安装php-mcrypt扩展的方法: CentOS下安装php mcrypt扩展的方法分享 php 加载mcrypt.dll失败如何解决 有关php-mcrypt加密的用法,请参考如下文章: php mcrypt启用、加密以及解密的方法介绍