Install php-mcrypt on CentOS 6

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

    For me, this worked :
    yum install php-mcrypt*
    and then, restart httpd service
    service httpd restart

    I tryed @VenomFangs solution but the first step was not needed for me. I already had a newer EPEL version installed. So, the first step following was not usefull, I backed to the snapshot I did before doing modifications and I just used the install and restart above commands.

    wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
    wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
    sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm

    CentOS Linux release 7.2.1511 (Core)

    PS : I know this is not the subject, but if somebody needs it, the keyword can help. I needed to do this because of this error on prestashop. Two keywords I would be glad to use to find this informations are : "php_mycrypt.dll" "php_mcrypt.dll"
    Fatal error: Call to undefined function mcrypt_encrypt() in /classes/Rijndael.php on line 46

    EDIT 10/06/2016 :
    Another Prestashop solution to try in "Advanced Parameters", "Performance", "Ciphering" (FR : Chiffrement), "Use the custom BlowFish class." instead of "Use Rijndael with mcrypt lib. (you must install the Mcrypt extension)."

提交回复
热议问题