#php -v php1 P3 M$ P$ M; z- M
Cannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220100525,NTS6 ^7 u5 D/ R* u
PHP 5.4.36 (cli) (built: Dec 19 2014 06:28:27)
7 n* H- K) Z# Z' X# m% e2 v: QCopyright (c) 1997-2014 The PHP Group
/ Z I _; w1 O5 @, kZend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
& O0 w* ]' y% j. P0 A1 M* N- ?. M- J% w/ q
check敺 php5.3隞乩銝舀 zend guard optimizer
7 v- J/ C) v3 ~; w+ i4 k- ] X& r, u
google敺潛 Zend Guard Loader舀 php5.3隞乩,隞 摰鋆 Zend Guard Loader ==>' J0 O' _. u) r+ z: X' @ x: S
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/
$ F/ F; C2 U6 [# q/ fvi /etc/php.ini怠偏憓嚗 [zend.loader]zend_loader.enable=1zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so$ |& C" L2 V$ _1 w! f' 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 Technologies& \3 w& r d% ~/ q3 n- u
憟賢憿
; R* _! n$ b8 Z# ~
* P$ v5 D. X3 m& ]+ Z, {
! P. W( p2 j1 n5 w# U4 S隞亙瘨瑁 end Extension Manager ==>) ]" |( T; L+ N% O) A+ K# H0 a' ^
vi /etc/php.ini
" V$ D: D! I3 n$ b: n撠隞乩閮餉圾
% m' g+ n+ h* Y7 M;[Zend]
9 d8 h4 y- g9 N9 g9 z! T& n! O( z;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
. H" c1 {9 o7 a% y, P! | g" R& n;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
0 p# g6 F$ m. {+ B) U" q: f! l;zend_optimizer.version=3.3.36 s6 p. X& x) e9 i" o. U' @. H
;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
3 W9 O5 S, b- I! `; u;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
! G; v5 P3 z! A+ k
: q+ P9 v. l9 w, w; e& V;[Zend.loader]
' E. L+ F J" P1 a;zend_loader.enable=1
# N0 Q; }' \8 H* N& z( j3 y/ Q! i;zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so( i6 _0 O2 ~3 u1 q
9 [2 Z t7 |+ w: l2 s: d9 |
- Y5 @! p6 Y2 F B5 q6 x券 httpd: d8 p6 d) m2 E$ {$ S4 p* C$ [2 N
' }8 ~0 y- E5 |. p: {7 \, G
# L" v/ f5 ?# N' [, U7 q! @, X- P
7 T( n m' I5 x5 ]1 Q |
|