Install php-mcrypt on CentOS 6

前端 未结 18 2250
感动是毒
感动是毒 2020-12-02 13:15

I have been trying to install php-mcrypt for a while now. Everytime I get the \"No package php-mcrypt available.\" returned to me. Here\'s what I\'ve tried:

         


        
18条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-02 13:39

    Updated Answer for centos 7

     ## RHEL/CentOS 7 64-Bit ##
     # wget http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm
     # rpm -ivh epel-release-7-0.2.noarch.rpm
    

    For CentOS 6

     ## RHEL/CentOS 6 32-Bit ##
     # wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
     # rpm -ivh epel-release-6-8.noarch.rpm
    
     ## RHEL/CentOS 6 64-Bit ##
     # wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
     # rpm -ivh epel-release-6-8.noarch.rpm
    

    Install

     yum install php-mcrypt
    

    Edit: See comments for updated repositories.

提交回复
热议问题