Install php-mcrypt on CentOS 6

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

    For me I had to add the EPEL repository. It is where my php-mcrypt came from:

    [root@system ~]$ repoquery -i php-mcrypt
    
    Name        : php-mcrypt
    Version     : 5.3.3
    Release     : 1.el6
    Architecture: i686
    Size        : 39225
    Packager    : Fedora Project
    Group       : Development/Languages
    URL         : http://www.php.net/
    Repository  : epel <----------
    Summary     : Standard PHP module provides mcrypt library support
    Source      : php-extras-5.3.3-1.el6.src.rpm
    Description :
    Standard PHP module provides mcrypt library support
    

    You can enable the EPEL repo with the instructions here:

    http://fedoraproject.org/wiki/EPEL

提交回复
热议问题