#php -v php
& K5 t& g; l. Q) u5 y5 q0 WCannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220100525,NTS/ W8 }2 ^, l) a# |
PHP 5.4.36 (cli) (built: Dec 19 2014 06:28:27)
; b5 y3 l6 _5 r- |* Y( l; x# rCopyright (c) 1997-2014 The PHP Group$ @- X, D3 v! u, S5 _
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies& E! t+ M; f0 V6 l7 i3 I6 D/ y
( i# o: X! b; ?/ p1 Z2 P
check敺 php5.3隞乩銝舀 zend guard optimizer7 e _0 q5 Z1 n: g2 Q
5 ?- M6 q6 J @% K' L9 cgoogle敺潛 Zend Guard Loader舀 php5.3隞乩,隞 摰鋆 Zend Guard Loader ==>; I8 ~+ y9 h+ m% 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/2 c/ Z! d7 x7 }: |: J
vi /etc/php.ini怠偏憓嚗 [zend.loader]zend_loader.enable=1zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
# j$ P/ d9 n, Uhttp 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( y7 p- H# S/ c) j3 A
憟賢憿5 n K* C4 m+ L1 \- F. Z3 }; A
* p. z# M& ]" Q" s$ U W! b0 x% e! x
9 k1 G3 f" Q6 k8 B1 a1 z: n隞亙瘨瑁 end Extension Manager ==>/ C9 A" s% e( D! }
vi /etc/php.ini
* G8 k; p* h' F7 e8 T撠隞乩閮餉圾
# w) n# R: T3 F7 _% e;[Zend]
# L5 h2 R' a4 `+ i# H+ A1 }) P;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
3 t( b) M1 I: t$ U;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
5 G# D' L9 l) @1 ^;zend_optimizer.version=3.3.3
( E& u6 h* g$ C;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so" q5 E, t7 s: ^! k5 u. Q
;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
5 [2 U( Q2 A0 r, w' H; f. X0 P; B! X1 y0 I# A; U6 h( E" G
;[Zend.loader]$ E U; r m' o+ u5 e
;zend_loader.enable=1! V; G9 u8 M& _1 u) F
;zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
0 j( i2 U6 d+ v
) g: l2 n8 y) r0 G' g, o
, E( d# _9 I' @1 o" C券 httpd
8 a) s1 C& @- ^( [' B$ A. {0 H# G% h; o6 A$ L
8 l8 U2 ^+ y: G) t: u- D: d8 e% z* ?% h
|
|