편집을 취소할 수 있습니다. 이 편집을 되돌리려면 아래의 바뀐 내용을 확인한 후 게시해주세요.
최신판 | 당신의 편집 | ||
1번째 줄: | 1번째 줄: | ||
{{테스트|Red Hat 리눅스}} | |||
{{테스트|Red Hat | ==문제 상황== | ||
== | |||
phpMyAdmin에서 아래와 같은 경고 메시지가 나온다. | phpMyAdmin에서 아래와 같은 경고 메시지가 나온다. | ||
< | <source lang='text'> | ||
The mcrypt extension is missing. Please check your PHP configuration. | The mcrypt extension is missing. Please check your PHP configuration. | ||
</ | </source> | ||
php-mcrypt 모듈이 없어서 그렇다. | php-mcrypt 모듈이 없어서 그렇다. | ||
== | ==php-mcypt 확인== | ||
;확인 | |||
<source lang='dos'> | |||
[root@localhost ~]# yum info php-mcrypt | |||
Loaded plugins: security | |||
Excluding Packages in global exclude list | |||
Finished | |||
< | Reducing CentOS-5 Testing to included packages only | ||
[root@ | 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 | ||
</source> | |||
.. | |||
</ | |||
==php-mcypt 설치== | ==php-mcypt 설치== | ||
< | <source lang='dos'> | ||
[root@ | [root@localhost ~]# yum install php-mcrypt -y | ||
... (생략) | ... (생략) | ||
======================================================================================================= | |||
Package | Package Arch Version Repository Size | ||
======================================================================================================= | |||
Installing: | Installing: | ||
php-mcrypt | php-mcrypt x86_64 5.2.9-2.el5.centos.3 c5-testing 16 k | ||
Transaction Summary | Transaction Summary | ||
======================================================================================================= | |||
Install | 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: | Installed: | ||
php-mcrypt.x86_64 0:5. | php-mcrypt.x86_64 0:5.2.9-2.el5.centos.3 | ||
Complete! | Complete! | ||
</ | </source> | ||
== | ==httpd 재시작== | ||
<source lang='bash'> | |||
httpd -k restart | |||
</source> | |||
이제 phpMyAdmin에서 경고 메시지가 사라졌다. | |||
==참고== | ==참고 자료== | ||
*http://www.linuxquestions.org/questions/red-hat-31/cannot-load-mcrypt-extension-please-check-your-php-configuration-672627/ | *http://www.linuxquestions.org/questions/red-hat-31/cannot-load-mcrypt-extension-please-check-your-php-configuration-672627/ | ||
[[분류: PHP | [[분류: PHP]] | ||