centos 6 install mcrypt for phpmyadmin
페이지 정보
작성자 차동박 댓글 0건 조회 10,847회 작성일 13-11-24 14:02본문
Unix crypt has been replaced by a newer mcrypt. Mcrypt is developed under GPL and provides many cryptographic algorithms, including block ciphers and stream ciphers. Some of the Algorithms mcrypt supports are Blowfish, Twofish, Threeway, DES, and more. An associate to mycrypt is Libmcrypt, Libmcrypt has real encryption functions built in and provide access to them.
To install mcrypt on centos 6 for phpmyadmin, you will need to install the EPEL repo on your server
i386
# rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
x86_64
# http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
then use yum command to install the mcrypt package
# yum install php-mcrypt
After you installed php-mcrypt package, you need to enable mcrypt extension module in /etc/php.d/mcrypt.ini
# nano /etc/php.d/mcrypt.ini
Find
; Enable mcrypt extension module
extension=module.so
Replace with
; Enable mcrypt extension module
extension=mcrypt.so
Finally restart httpd service in your centos/fedora server
# service httpd restart
note: if you get 404 file not found when download EPEL repo, check http://dl.fedoraproject.org/pub/epel/6/i386/ or x86_64 http://dl.fedoraproject.org/pub/epel/6/x86_64/ for newest version of EPEL
관련링크
댓글목록
등록된 댓글이 없습니다.