Home >Backend Development >PHP Tutorial >How to install the php-mcrypt extension on CentOS 6

How to install the php-mcrypt extension on CentOS 6

WBOY
WBOYOriginal
2016-07-25 08:57:23875browse
  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
Copy the code

2, install php-mcrypt

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

In addition, friends who have cenots 5 system, you can refer to the method of installing php-mcrypt extension in centos 5: Sharing how to install php mcrypt extension under CentOS How to solve php failure to load mcrypt.dll For usage of php-mcrypt encryption, please refer to the following articles: Introduction to how to enable, encrypt and decrypt php mcrypt



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn