#php -v php
; l' h* Q( S" R' ^0 M9 wCannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220100525,NTS1 W4 i, K: I M9 h$ H% r5 u" ^
PHP 5.4.36 (cli) (built: Dec 19 2014 06:28:27)
: O& |% T4 ]3 y1 BCopyright (c) 1997-2014 The PHP Group
7 w4 X }+ U; _0 Q3 D' q0 D/ N- d- MZend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies/ \" h' G' ^$ w( O
* F2 e7 Q$ X- Y( v" J/ z: ^) O
check敺 php5.3隞乩銝舀 zend guard optimizer' _* @2 n) B8 K4 W. v
! c. h6 S$ d$ H
google敺潛 Zend Guard Loader舀 php5.3隞乩,隞 摰鋆 Zend Guard Loader ==>" K2 G9 f8 L8 U! V
cd /usr/local/srcwget http://downloads.zend.com/guard/ ... 23-x86_64.tar.gztar zxvf ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gzcd /usr/local/src/ZendGuardLoader-php-5.3-linux-glibc23-x86_64/php-5.3.xcp ZendGuardLoader.so /usr/lib64/php/modules/4 g; i( ~" Q! X- Z) [
vi /etc/php.ini怠偏憓嚗 [zend.loader]zend_loader.enable=1zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
5 A* F T% k! g2 A/ p" g: e: \http service httpd restartphp -vZend Guard Loader requires Zend Engine API version 220090626.The Zend Engine API version 220100525 which is installed, is newer.Contact Zend Technologies at http://www.zend.com/ for a later version of Zend Guard Loader.PHP 5.4.36 (cli) (built: Dec 19 2014 06:28:27)Copyright (c) 1997-2014 The PHP GroupZend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
' \$ t5 o5 W% Z7 ~9 |: A( ^' z+ D. G憟賢憿
! r$ B/ W+ _* s; U& C8 [4 Y* r; ^) V- k4 t
1 ]. w$ Z4 U6 {- G3 O隞亙瘨瑁 end Extension Manager ==>/ ]: K8 p* D3 l& J4 M
vi /etc/php.ini: o6 |& P( \5 d" y1 |9 r( S
撠隞乩閮餉圾1 m- R9 b8 O" x! I# k$ h
;[Zend]
) ^: P d l8 H& m( B d;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
; `* \& o+ S7 o& }- W;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3) i T) s! w3 @" ]0 W Y5 H
;zend_optimizer.version=3.3.3
+ g! |3 P- q/ V' e;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so% }) p% e; R8 s; s
;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so8 ?( r, k, A7 u9 S
" d) T7 R2 g% e6 K- h;[Zend.loader]+ i1 P2 H. P+ \, _/ C9 P
;zend_loader.enable=1$ Y3 w+ C: b' w& N
;zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so) Y9 [4 X7 |, [5 S
6 E+ V$ F6 ?# a4 G" @: {7 b/ w: D3 A7 U4 m0 t. n8 O
券 httpd
0 z; h+ d3 B7 s M. k6 [7 M& i$ W# g7 P* p' {5 {, N8 A
2 U+ R; C& w; d' t4 L
" F6 a# y+ p- Z7 y5 ^: L |
|