#php -v php
8 s7 d9 y |6 D' S4 NCannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220100525,NTS# v- Z% S4 s. y e" [' F
PHP 5.4.36 (cli) (built: Dec 19 2014 06:28:27)% _0 F% t! Z7 d* v) S$ Z( N* q' C/ \2 V- ]
Copyright (c) 1997-2014 The PHP Group- P- ~ D' V( D8 C& U* l6 { C
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies( Z8 L7 q6 v" t2 D d- n; T' {: u
6 `; v' P+ `7 Y* S+ L! g& mcheck敺 php5.3隞乩銝舀 zend guard optimizer
9 m6 f7 w1 l" q8 J# F
2 R0 x3 @" `, {google敺潛 Zend Guard Loader舀 php5.3隞乩,隞 摰鋆 Zend Guard Loader ==>: Y% D7 }" q# R- @- e
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/
# \5 V; C' \. U" Vvi /etc/php.ini怠偏憓嚗 [zend.loader]zend_loader.enable=1zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
# p3 ]9 _' j/ V3 Bhttp 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
7 X1 B+ s; ?$ I$ ^憟賢憿
$ X2 i# e; }% C8 N8 z/ `3 x$ p( D0 P0 y" G* V" U, A8 G( l
: u" ~; z! E/ e" _+ e* w
隞亙瘨瑁 end Extension Manager ==>; Z# d0 E' f- ?" k7 [
vi /etc/php.ini
: [) k4 W: o4 a% Z. A; A撠隞乩閮餉圾 I0 L) Q' ^7 b5 j6 ~+ k
;[Zend]
6 S u" o4 \2 \. s4 t0 Q8 Y6 d8 m;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3$ A# q, F' v8 ]6 k
;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
6 b9 r4 B4 j* f% o( e$ u; G;zend_optimizer.version=3.3.39 v. n' R) U; m- n
;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so) q: D! h$ U1 d7 ]4 Y1 r
;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so4 n. a9 ?& p# Q
* _5 P2 l! v1 C% [7 [ E4 J
;[Zend.loader]0 }8 V! F$ U$ R+ Q/ S$ t
;zend_loader.enable=1
& ]9 ?& T3 R! d# a;zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
" r n, _2 L! R: T( l. m5 ]1 @
$ ]! c: x8 {/ I" A K& w* g- f券 httpd
; _8 U4 B4 r; B" z2 ^, O/ B
( _- S* ?9 r+ a0 h! _* v: O- F( J5 D' L# j4 V; C% K
3 r' P3 R1 A6 e |
|