Server & OS

SULinux에 mcrypt php 확장모듈 설치하기

페이지 정보

본문

SULinux에 mcrypt php 확장모듈 설치하기

1. libmcrypt 설치

shell>cd /usr/local/src
shell>wget http://heanet.dl.sourceforge.net/mcrypt/libmcrypt-2.5.8.tar.gz
shell>tar xvfz libmcrypt-2.5.8.tar.gz
shell>cd libmcrypt-2.5.8
shell>./configure --prefix=/usr/local/libmcrypt
shell>make ; make install


2. php 컴파일하기

shell>apmtools
실행화면에서 apm의 php 업데이트 선택 후 '확인'
현재 php 버전 체크 후 '확인'
php 버전 선택 후 '확인'
추가할 컴파일 옵션 --with-mcrypt=/usr/local/libmcrypt

관련자료

등록된 댓글이 없습니다.
Today's proverb
‘어떻게 말할까’ 하고 괴로울 때는 진실을 말하라. (마크 트웨인) (마크 트웨인)