#php -v php
: p) w- N! Y2 h+ JCannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220100525,NTS4 P% N0 H% [& c- h" \$ [
PHP 5.4.36 (cli) (built: Dec 19 2014 06:28:27)) N' ]6 M% V/ \- h
Copyright (c) 1997-2014 The PHP Group! W* M1 k& a- t
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
v8 |! m6 [# k% c! }+ u% E: i
6 J6 b6 f$ a" j: m5 Q$ Vcheck敺 php5.3隞乩銝舀 zend guard optimizer
% M# T, a# q) h& C8 w
6 |. s, R$ H; Q: G8 H- W- t0 igoogle敺潛 Zend Guard Loader舀 php5.3隞乩,隞 摰鋆 Zend Guard Loader ==>
: f/ a* e D7 ]& A- u8 bcd /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/" W7 s# h) Z. r u0 b# m+ F
vi /etc/php.ini怠偏憓嚗 [zend.loader]zend_loader.enable=1zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
" o: s. C! b: T* Z% shttp 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; l- b& }9 J( k3 }$ C0 p- B
憟賢憿& O! b5 V* B0 B
3 o, J$ w* j# Q3 K; V/ v3 f$ F; M. I3 s# F; ^- k2 h% a
隞亙瘨瑁 end Extension Manager ==>
) i R+ o, k1 F; n8 Yvi /etc/php.ini
! Z! a! V0 K: k) Q1 k7 g8 l+ F撠隞乩閮餉圾2 E& T& R. c c3 w `. u
;[Zend]
& y& X8 n- L/ `3 X;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
" l1 i; {; N9 S- X3 `& u& T6 Q9 ]8 v;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3: H8 Q4 Y: h5 i. c
;zend_optimizer.version=3.3.3
" T; \6 v( R- f8 ];zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
, ]7 I/ i. M& g7 b9 F;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
: k& {' B% e7 N, w! F) c& R* s0 L( B! e4 m+ O! V; R
;[Zend.loader]
' b( f; v: K4 @0 d/ y# P% X;zend_loader.enable=1
5 @1 ]9 [% R% [- d; {/ O;zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
% H" Z t, ]/ k! }
8 X1 l/ Q; c& v" i( \4 q, t6 x" I, u& e5 x+ O: ~
券 httpd. W6 d4 q: f3 k# q* V4 Z6 [. w
2 W7 ]# q6 r2 k& t- x% S. e2 s2 g) Y9 h
7 E5 h9 X8 h A+ b" w |
|