CentOS php-mcrypt 설치

Jmnote (토론 | 기여)님의 2012년 2월 29일 (수) 14:00 판 (→‎php-mcypt 설치)

phpMyAdmin

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

1 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

2 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!

3 httpd 재시작

httpd -k restart

이제 phpMyAdmin에서 경고 메시지가 사라졌다.

4 참고 자료

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}