#php -v php
- |$ ^4 n1 m7 H$ p) Q: [3 ]Cannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220100525,NTS+ H* u7 T$ D5 s2 e) q o( ~. l
PHP 5.4.36 (cli) (built: Dec 19 2014 06:28:27)" u4 D* g2 @4 X# l
Copyright (c) 1997-2014 The PHP Group
' F! n4 _- B5 o# EZend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies& t0 {7 M0 f( _5 C& ~
& Q( O4 C- T( C- c+ P) u
check敺 php5.3隞乩銝舀 zend guard optimizer
- [9 Q& e/ Q/ m0 M2 p1 m
; M( Y. }) V Q2 Jgoogle敺潛 Zend Guard Loader舀 php5.3隞乩,隞 摰鋆 Zend Guard Loader ==>6 y+ c2 `% C; h* o4 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/" a4 B' L; D2 X% f' V: {
vi /etc/php.ini怠偏憓嚗 [zend.loader]zend_loader.enable=1zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so/ W$ {9 D3 c& a$ M: x& l
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 Technologies3 t% |: E* H k6 X
憟賢憿* l9 T3 u6 I' a0 c) @& [! X
4 ?, Y, `8 j0 [0 x
7 {* Z/ \. r. u4 b- X4 U- O o" u隞亙瘨瑁 end Extension Manager ==>
8 _1 k; e. X( d2 U# h. svi /etc/php.ini- L( Y/ G2 r5 X( z) C
撠隞乩閮餉圾' B" M" n1 d+ y0 w' |
;[Zend]
: n) ^' G N; i* M. Q;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
. k' d5 A( ^3 E;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
. ^7 X9 c% b: g% a- M) Z;zend_optimizer.version=3.3.3
, S. y6 I& J. q( {% o- W: Z% S;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so- M, @" z" p/ R* W) L2 ^4 i2 `/ o
;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
2 \# T8 y2 L3 M/ w9 S0 o7 d( K
7 b( L0 e, N2 C. g;[Zend.loader]
: m5 [2 \: J) m! t# b; T5 T$ O;zend_loader.enable=1
! J: u. i1 [6 F;zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
. D; ^3 A, B* y1 _
7 G- Y5 _+ b1 C s2 t- T, ]6 L% O+ w( Z4 e2 B4 v
券 httpd
, {) K( ? e& B0 c! b' ]% Y3 L: q r$ [4 g+ {$ I/ b
$ H9 s0 z( t5 ?8 ^7 s) u: X r1 r3 N
|
|