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

관련자료

댓글 0
등록된 댓글이 없습니다.
Today's proverb
우리는 유리할 때는 형제가 되고, 불리할 때는 남이 되며, 이로울 때는 친구가 되고, 해로울 때는 원수가 되는 그러한 인간관계를 증오한다. (북녘 하늘의 명언)