리눅스에 모듈이 있을 경우
yum install php-mcrypt
를 입력하면 php-mcrypt를 설치할 수 있습니다. 하지만 이 모듈이 서버에 존재하지 않을 수 있습니다.
그럴 경우는 다운로드 받아서 설치 해야 합니다.
# yum install php-mcrypt
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: p3plmirror01.prod.phx3.secureserver.net
* centosplus: p3plmirror01.prod.phx3.secureserver.net
* epel: mirrors.solfo.com
* extras: p3plmirror01.prod.phx3.secureserver.net
* updates: p3plmirror01.prod.phx3.secureserver.net
centosplus
centosplus/primary_db
Setting up Install Process
No package php-mcrypt available.
Error: Nothing to do
다운로드 후 설치 하기
1. wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
2. wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
3. rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm
4. yum update
5. yum install php-mcrypt*
6. apache restart
'리눅스' 카테고리의 다른 글
리눅스 cvs 계정 만들기 (0) | 2016.06.29 |
---|---|
리눅스 사용자 환경설정 useradd home 폴더생성 (0) | 2016.06.29 |
리눅스 최근 수정된 파일 쉘 상 변경 파일 찾기 atime mtime ctime (0) | 2016.01.06 |
리눅스 php-mbstring 설치하기 Call to undefined function mb_substr() (0) | 2015.12.08 |
리눅스 umask 파일/디렉터리 생성 권한주기 (0) | 2015.11.20 |