#php -v php
* ^/ F/ B4 @% u6 [Cannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220100525,NTS, e+ j& B4 q; R, M0 E
PHP 5.4.36 (cli) (built: Dec 19 2014 06:28:27)
7 ~$ q8 s/ B$ JCopyright (c) 1997-2014 The PHP Group2 @: l8 _$ b$ f, h
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies- @9 u/ }3 ?9 a) w9 M
( F, |- _+ A; ]7 w( Q/ p) X
check敺 php5.3隞乩銝舀 zend guard optimizer
1 ]+ ]& a% J. R+ b2 X2 p K+ N) P H! ]2 R f; E
google敺潛 Zend Guard Loader舀 php5.3隞乩,隞 摰鋆 Zend Guard Loader ==>
: a. \ w8 T6 H% X+ w6 Q. h/ d: }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/3 ], U2 p( M8 u9 I6 w; f
vi /etc/php.ini怠偏憓嚗 [zend.loader]zend_loader.enable=1zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
& A3 B1 z) S9 B# V9 }/ ?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; y0 M- @5 z( w: {1 q. W
憟賢憿0 P; B" K* F9 Y- j4 U
) ?! e+ J1 y) t! Y- i6 h
) s7 h5 f& s8 s5 X9 H5 R/ a7 K8 ?隞亙瘨瑁 end Extension Manager ==>6 A b; s" i# i7 Q- I( }
vi /etc/php.ini
) Z% n: z1 b+ S5 {撠隞乩閮餉圾( M6 k% D/ _* a2 x% y
;[Zend]2 u# L; ^" c& b: {* f
;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
- w1 D# R6 s) T3 x( g;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
. H) L: X- |1 c;zend_optimizer.version=3.3.3
, e0 ~4 r, ?+ \% {% ^. a;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
4 o; \& B7 }! ~/ x: G" O+ I;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
2 O% Z: G: g9 M
6 y$ E6 @" V6 l* e' G- J- Y;[Zend.loader]( H% R( {7 R# T# |
;zend_loader.enable=1, _" Q+ r" v& b8 a/ Q
;zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so! y' m: l* u" y7 y) h. ^
" A% B3 e/ ` Q( r% ~; _9 W4 c- e. C g' u5 d7 t6 _9 J
券 httpd
5 K9 {$ ^$ l, G- q8 ?3 q! C6 C3 k0 J: k2 U3 W7 u3 I
& F6 b! X3 H# J! m( \8 D) g
! R' G4 Q8 g. z+ X |
|