메뉴 건너뛰기

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
번호 제목 날짜 조회 수
157 Apache Mod_Security 사용방법 2016.04.22 8916
156 [apache] - .htaccess 설정 2016.03.18 7262
155 php 리다이렉트 2016.03.18 8302
154 Apache 리다이렉트 2016.03.18 8155
153 cron에 php 파일 등록 방법 2016.03.18 7602
152 rsync ssh를 이용한 서버 백업 2016.03.18 9006
151 CentOS 5.1 + APM(apache 2.2.x + php 5.2.x + mysql5.0.x + Zend 3.0.x) 설치 2016.03.18 8686
150 mysql DB 지정 백업 스크립트 2016.03.18 8004
149 apache 구동중지되어있을 때 재구동 스크립트 2016.03.18 7373
148 php sockets 동적 모듈 설치 ( php socket ) 2016.03.18 8318
147 php http include 2016.03.18 7685
146 php-5.2.17 make시에 오류 발생 make: *** [ext/dom/node.lo] 오류 1 2016.03.18 10743
145 yum-fastestmirror로 CentOS 5.0 의 yum 속도 업! 2016.03.18 7513
144 Yum과 rpm을 이용하여 PHP5.5버전 설치 2016.03.18 8075
143 컴파일을 이용하여 Apache 최신버전을 설치하자 2016.03.18 7632
142 yum 업데이트 시 특정 패키지 예외처리 2016.03.18 8350
141 libphp5.so: undefined symbol: unixd_config 2016.03.18 9575
140 하드디스크 배드블록 점검 툴 - badblocks 2016.03.18 8808
139 Apache 2.x 에서 maxclients 1024 제한 초과 방법 (수정 중..) 2016.03.18 8554
138 확장자가 없는 파일 자동인식하는 mod_mime_magic 2016.03.18 9316
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 12 Next
/ 12

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

© k2s0o1d4e0s2i1g5n. All Rights Reserved