메뉴 건너뛰기

2015.07.30 02:12

PHP-5.3 이상 Zend 설치

조회 수 8698 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

PHP 5.3 이상에서는 Zend Optimizer 가 아닌 Zend Guard Loader 라는 이름으로 배포됨

PHP 버전에 맞게 다운로드


- Zend Guard Loader (Runtime for PHP 5.4) 64-bit:

http://downloads.zend.com/guard/6.0.0/ZendGuardLoader-70429-PHP-5.4-linux-glibc23-x86_64.tar.gz


- Zend Guard Loader (Runtime for PHP 5.4) 32-bit:

http://downloads.zend.com/guard/6.0.0/ZendGuardLoader-70429-PHP-5.4-linux-glibc23-i386.tar.gz


- Zend Guard Loader (Runtime for PHP 5.3) 64-bit:

http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz


- Zend Guard Loader (Runtime for PHP 5.3) 32-bit:

http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz



# wget http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz

# tar zxvf ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz


압축이 풀린 디렉토리 안에 php-5.3 안에 ZendGuardLoader.so 파일을 

32비트인 경우 /usr/lib/php/modules

64비트는 /usr/lib64/php/modules 로 이동 


/etc/php.d/ZendGuard.ini 파일 생성

# vi /etc/php.d/ZendGuard.ini

; Enable Zend Guard extension

zend_extension=/usr/lib/php/modules/ZendGuardLoader.so

zend_loader.enable=1

if your server is 64-bit then use:


- 64비트인 경우

; Enable Zend Guard extension

zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so

zend_loader.enable=1


웹 서버 재시작

# /etc/init.d/httpd restart  


# php -v

Cannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220090626,NTS

PHP 5.3.3 (cli) (built: Dec 11 2013 03:29:57)

Copyright (c) 1997-2010 The PHP Group

Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

    with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies


List of Articles
번호 제목 날짜 조회 수
237 Rocky Linux 8에 docker 설치하기 file 2024.04.23 0
236 centos 7 APM 최신버전 설치 ( mariadb 10.4 / apache 2.4.39 / php 7.3.8 ) file 2024.02.07 46
235 작업 예약 스케줄러(크론Cron)파일,자동 백업 명령 file 2023.01.12 129
234 root 계정 su 명령 제한 file 2023.01.20 137
233 다중명령어(세미콜론(;), 파이프pipe(|), 더블 엔퍼센트 &&, ||)의미,사용법과 차이점 file 2023.01.12 154
232 우분투 작업 스케줄러 Crontab 사용법, 디버깅, 주의 사항 2023.01.12 154
231 find 명령어 2021.03.26 162
230 기본 허가권,퍼미션 지정(제어, 설정)하기(umask와 작동 원리) file 2023.01.12 164
229 재지향시 유의사항 (grep 재지향) 2021.03.26 179
228 centos 시작시 네트워크 모듈 추가 2021.03.26 207
227 netstat 명령어 2021.03.26 210
226 crontab 사용법 2021.03.26 246
225 리눅스 vsftpd 500 OOPS 에러 (CENTOS 7) file 2020.03.04 298
224 CentOS ImageMagick 설치 php 연동 file 2021.03.26 312
223 명령어 모음 file 2021.03.26 373
222 tar.gz 파일 묶기, 압축하기, 압축 풀기 2021.03.26 407
221 centos7 sendmail 설치 및 세팅 2020.12.31 467
220 apache2 트래픽 모듈 mod_cband 사용법 2019.02.14 1129
219 이미지 및 파일 무단링크 방지책 2019.02.14 1137
218 php_screw를 이용한 php 소스 암호화 하기 2019.02.14 1420
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 12 Next
/ 12

하단 정보를 입력할 수 있습니다

© k2s0o1d4e0s2i1g5n. All Rights Reserved