Install php-mcrypt on CentOS 6

前端 未结 18 2244
感动是毒
感动是毒 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:41

    I was having same issue in centos 6.5

    Finaly solution below worked for me

    -go to http://dl.fedoraproject.org/pub/epel/6/x86_64/
    -search for php-mcrypt(http://dl.fedoraproject.org/pub/epel/6/x86_64/php-mcrypt-5.3.3-3.el6.x86_64.rpm)
    -execute wget http://dl.fedoraproject.org/pub/epel/6/x86_64/php-mcrypt-5.3.3-3.el6.x86_64.rpm
    -rpm -ivh php-mcrypt-5.3.3-3.el6.x86_64.rpm

    if there are any dependencies you can download same using http://dl.fedoraproject.org/pub/epel/6/x86_64/

提交回复
热议问题