#php -v php
9 v) Z* E8 p( k8 @Cannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220100525,NTS$ d1 w+ | R9 X' h: k& [
PHP 5.4.36 (cli) (built: Dec 19 2014 06:28:27)! }7 ]# Y! b/ T1 y; S% n: W$ _
Copyright (c) 1997-2014 The PHP Group9 k4 G& r: v2 m# c; V# k
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
; y# l3 q+ w* ^9 u1 v7 q6 }& G. [8 H4 M7 C u: u9 u
check敺 php5.3隞乩銝舀 zend guard optimizer. s- a5 y3 O$ G2 p C" Z l
$ w9 n, K- ~) |4 k }, h" Vgoogle敺潛 Zend Guard Loader舀 php5.3隞乩,隞 摰鋆 Zend Guard Loader ==>2 I0 x. p8 L% R- i
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/ t6 N o" x$ R) g9 e$ c
vi /etc/php.ini怠偏憓嚗 [zend.loader]zend_loader.enable=1zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
( j' h6 U! L* i# _4 G3 _6 [- Hhttp 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; w q3 F' j- y* W" {" p
憟賢憿
" e' Z: V4 ?9 r: ^8 d( _1 A" o/ u- J! [/ t
4 w7 }4 { _( L, [& i& E( p
隞亙瘨瑁 end Extension Manager ==>4 v; ^# X* |' z1 ~; D9 u
vi /etc/php.ini
; R, f( p0 \. [6 [# ~撠隞乩閮餉圾
: z' }" n- v0 ~- s;[Zend]
" @) N0 ]# u% O; s/ U;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
' m3 Z$ L. c: q& ]$ ~5 t1 ~;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.37 \; ~6 G+ Q9 z) S* V; R
;zend_optimizer.version=3.3.3" l5 P1 p2 B8 Q9 a* F- F
;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so p, H3 g: `- o f9 k/ v
;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so& }; U- i+ ]/ D8 A. ^
4 s4 z p2 T$ m f0 V;[Zend.loader]# F7 Y6 A% x. y! o* j+ \2 G( @
;zend_loader.enable=1
5 i+ u- i. l: m;zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so% {6 Z: w# W: ?( x q9 P: V
' l& ]/ l* c( |5 y8 b) J9 L
3 z. X7 k& j3 r% J3 }! ~4 J. ]券 httpd4 p: ~$ c- m% k+ u
+ f$ z- G4 {4 k) H! z$ F4 G3 R; b" Y( j$ H8 N
$ `9 s$ H- y b6 \/ P* }6 l |
|