#php -v php2 X& ?/ a0 [& T: D) ^5 i e
Cannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220100525,NTS
& {2 r1 `7 h+ `& L9 x1 f8 x6 f7 cPHP 5.4.36 (cli) (built: Dec 19 2014 06:28:27)* y: ?+ i7 C3 E, j1 @* D5 I6 v
Copyright (c) 1997-2014 The PHP Group, q* o' J. h9 j; H! `
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies) X- A, h$ i" r( [" o
. q7 t5 B f1 ^% ]& F* g. a
check敺 php5.3隞乩銝舀 zend guard optimizer
/ x; L2 o3 I' z" p \- D0 ]
1 A" s* z8 s; O% ~% bgoogle敺潛 Zend Guard Loader舀 php5.3隞乩,隞 摰鋆 Zend Guard Loader ==>
! k+ _5 H4 ^1 |' G" Wcd /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/
; h: p9 ^/ D* _# bvi /etc/php.ini怠偏憓嚗 [zend.loader]zend_loader.enable=1zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so. [& w. k: J' N
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 Technologies1 m6 H& A# T5 z) Z2 @" O1 {( f
憟賢憿
' d1 a: ^: q }4 R" i1 y* A& v5 q1 l6 {1 T3 H0 T) H
! T: m; v' \7 Z- ~
隞亙瘨瑁 end Extension Manager ==>) y3 P* [2 f0 j4 w: Q v w
vi /etc/php.ini! ^/ I: `- M, K, ]8 g B! ]
撠隞乩閮餉圾
4 T1 o4 K$ b$ ~7 p6 i;[Zend]
% L+ {6 q4 L& X, `;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
) F$ v I3 N; B2 a;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
- g1 F; ?7 E. `* i, o! N;zend_optimizer.version=3.3.3% w3 M0 |2 i1 `
;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
5 l5 ]" D7 w+ Y3 M) ~;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so' W; g1 e9 J7 ]- S. [
' P0 u: c1 Q. s: I8 k2 c. s;[Zend.loader]
( a( U' U6 v5 p* f" R;zend_loader.enable=1
. Y! } _. ]' e2 W& w" w1 j" L;zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
$ z# O' N$ J& r! u
- Y+ D. }) \+ E( p+ ^
, _9 r; g8 X. y4 ?' m: o5 v券 httpd
: J* k( ]' i7 @6 }% d1 H
/ y6 I& f7 U1 R& z0 z% ?7 z+ ?5 K9 @+ I, } T0 J3 F2 M8 L; Q
- j: p" V0 c( [
|
|