"CentOS php-mcrypt 설치"의 두 판 사이의 차이

1번째 줄: 1번째 줄:
{{테스트|Red Hat 리눅스}}
==문제 상황==
==문제 상황==
phpMyAdmin에서 아래와 같은 경고 메시지가 나온다.
phpMyAdmin에서 아래와 같은 경고 메시지가 나온다.

2012년 2월 29일 (수) 14:01 판

1 문제 상황

phpMyAdmin에서 아래와 같은 경고 메시지가 나온다.

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

php-mcrypt 모듈이 없어서 그렇다.

2 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

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

4 httpd 재시작

httpd -k restart

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

5 참고 자료

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