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

9번째 줄: 9번째 줄:
==php-mcypt 확인==
==php-mcypt 확인==
<source lang='dos'>
<source lang='dos'>
[root@localhost ~]# yum info php-mcrypt
[root@localhost ~]# yum list php-mcrypt
Loaded plugins: security
... (생략)
Excluding Packages in global exclude list
Finished
Reducing CentOS-5 Testing to included packages only
Finished
Available Packages
Available Packages
Name      : php-mcrypt
php-mcrypt.x86_64                                           5.1.6-15.el5.centos.1                                            extra
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>
</source>
:→ 설치 안됨. 설치 가능


==php-mcypt 설치==
==php-mcypt 설치==

2013년 11월 26일 (화) 17:11 판

1 문제 상황

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

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

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

2 php-mcypt 확인

[root@localhost ~]# yum list php-mcrypt
... (생략)
Available Packages
php-mcrypt.x86_64                                           5.1.6-15.el5.centos.1                                            extra
→ 설치 안됨. 설치 가능

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 }}