본문 바로가기
Dev

The mcrypt extension is missing. Please check your PHP configuration. 오류 해결법

by ryush00 2012. 9. 13.

phpMyAdmin에서 다음과 같은 경고 메세지가 나올경우


The mcrypt extension is missing. Please check your PHP configuration.


이 문제는 php-mcrypt 모듈이 없어서 이런 문제가 나타난다.


php-mcypt 확인

[root@localhost ~]# yum info php-mcrypt
Loaded plugins: security
Excluding Packages in global exclude list
Finished
Reducing CentOS-5 Testing to included packages only
Finished
Available Packages
Name       : php-mcrypt
Arch       : x86_64
Version    : 5.2.9
Release    : 2.el5.centos.3
Size       : 16 k
Repo       : c5-testing
Summary    : Standard PHP module provides mcrypt library support
URL        : http://www.php.net/
License    : PHP
Description: Standard PHP module provides mcrypt library support

php-mcypt 설치

[root@localhost ~]# yum install php-mcrypt -y
... (생략)
=======================================================================================================
 Package               Arch              Version                           Repository             Size
=======================================================================================================
Installing:
 php-mcrypt            x86_64            5.2.9-2.el5.centos.3              c5-testing             16 k
 
Transaction Summary
=======================================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)
 
Total download size: 16 k
Downloading Packages:
php-mcrypt-5.2.9-2.el5.centos.3.x86_64.rpm                                      |  16 kB     00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : php-mcrypt                                                                      1/1
 
Installed:
  php-mcrypt.x86_64 0:5.2.9-2.el5.centos.3
 
Complete!

httpd 재시작

httpd restart

댓글