컴퓨터 / Computer

ionCube Loader 설치하기

ionCube Loader 는 ionCube Encoder 로 변환한 코드를 부를 수 있게 해 주는 php 확장팩이다. 아래는 ionCube에 대한 소개다.


 About ionCube

ionCube was created particularly to meet the clear need for a quality, reliable, and affordable solution for the protection of PHP based intellectual property.


Launching a unique online encoding service, and soon after its Standalone PHP Encoder software, ionCube was quickly established and recognised as a leading provider of encoding solutions for PHP.


ionCube incorporates over 23 years experience in software development. This includes bespoke operating systems, languages and compilers, database engine technology, and PhD research into innovative microprocessor design and system architecture for high performance object-oriented parallel-processing hardware. Immediately before establishing ionCube, Managing Director Nick Lindridge designed and developed ultra high performance order routing and exchange connectivity technology for one of the UK's leading market making firms that were acquired by one of the major US financial institutions as a result.


Where industry experience, technical understanding and expertise in exploiting a technology to the full are paramount, ionCube represents the all round best investment for PHP encoding technology.


장점은 암호화뿐만 아니라 속도 개선도 있다. 그리고 최근 php 를 이용하는 오픈소스 솔루션들이 ionCube 를 요구하고 있다. 이에 ionCube 설치법을 아래와 같이 보여 주고자 한다.


1. 다운로드하기

친절하게도 무려 OS를 4개나 지원한다. Linux, FreeBSD, Windows, MacOS.


6fc3be4b5dc1a113973c12f5d9ab3da6_1763360866_5434.jpg
 

자기 운영체제에 맞는 gz나 zip을 다운 받으면 된다. (이게 귀찮으면 wget 으로 받아도 된다. 그건 링크의 블로그를 참조.) 


2. 파일 업로드 

서버에 업로드를 한다. 이때 MacOS나 Windows는 잘 설정할 수 있는데 Linux 나 FreeBSD의 경우 아래 폴더에 넣으면 좋다.


Linux 

 /usr/lib64/ioncube


FreeBSD 

/usr/local/lib/php/ioncube 


3. php.ini 수정하기


linux 는 /etc 아래에 php.ini 가 있어서 아래 줄을 하나 추가하면 된다.(아래는 php 7.4 버전이다.) 


zend_extension = /usr/lib64/ioncube/ioncube_loader_lin_7.4.so 


FreeBSD는  는 php.ini 파일이 없다.  대신에 /usr/local/etc/php 폴더에 php.ini 를 생성하거나 아니면 거기에 있는 파일에 아래 항목을 추가한다. (php 8.3 버전일 경우다.) 


zend_extension = /usr/local/lib/php/ioncube/ioncube_loader_fre_8.3.so 



4. apache/httpd 재시작 


 apachectl restart  혹은 systemctl restart httpd.service 


이때 오류가 발생하면 그 오류의 원인을 찾아서 해결을 한다. 


5. 동작 확인 


웹 상에서 phpinfo를 실행시키거나 프롬프트에서 php -v 를 실행한다.


가. 웹 상에서 phpinfo 실행 시 (빨간 네모 상자 안.) 

6fc3be4b5dc1a113973c12f5d9ab3da6_1763361354_5814.jpg
 


나. php -v 로 확인 (빨간 네모 상자 안) 


6fc3be4b5dc1a113973c12f5d9ab3da6_1763361479_5644.jpg
 




Linux 버전과 FreeBSD 버전을 첨부. 물론 encoding을 하지 않으면 굳이 설치할 필요는 없다.

Comments

슬레진저 남자 로고 중목 이중바닥 스포츠양말 5켤레
화이트 콜린 셔츠
ksr 라미 멘넨 스킨 브레이서 남성 2종세트
뽀인트애니멀 유아동 미끄럼방지양말 5종1세트 205351
세탁기받침대 스토퍼 고정패드
SQ15 모니터 받침대 50cm 책상 컴퓨터 노트북 거치대 사무실 집 와이드 2단 데스크 스탠드 선반
PC용품 CRUISE GP-703 게이밍 장패드 마우스패드
LG 울트라PC 15U50R 거치식 정보보호필터K
디귿철제 슬라이드 슬라이딩 수납함 소형
후라이팬 정리대 그릇선반 접시거치대 홀더 수납장 신발장 수납선반
이케아 SKOSTALL 스코스탈 신발정리대
실버메탈랙 4단 아파트베란다선반 다용도실정리 수납
마라톤 러닝베스트 조끼 헬스 가슴가방 등산 배낭
원터치 다용도 간이텐트 샤워텐트 야외탈의실
샘표 조선고추장 500g
패리스독 BBQ 애견 간식놀이 로프토이 (랜덤1개)

캐프 와이퍼 순정형 싼타페DM 650mm 350mm 1세트
칠성상회
자동차 틈새솔 차량 틈새 브러쉬 초미세모 DD-13136
칠성상회

맨위로↑