#php -v php
: S% G6 H! O: b8 ]# q+ S d8 ~Cannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220100525,NTS
! W. r& |- Y' s$ f" HPHP 5.4.36 (cli) (built: Dec 19 2014 06:28:27)# [+ \1 S i5 W/ o
Copyright (c) 1997-2014 The PHP Group* S3 H, H9 P3 D) E) ] E
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies6 A4 |0 a D% V* Y
. A+ R( }3 o |6 Tcheck敺 php5.3隞乩銝舀 zend guard optimizer
h0 c4 c- |$ G5 R2 A: |6 [) ~- c! t# w1 `, ^% E
google敺潛 Zend Guard Loader舀 php5.3隞乩,隞 摰鋆 Zend Guard Loader ==>
) m6 l' k8 K& Z- Acd /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/- q l" F7 a$ W8 n) R( O+ z
vi /etc/php.ini怠偏憓嚗 [zend.loader]zend_loader.enable=1zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so2 {6 [2 ~- n [6 ]0 }) U8 Q8 A; ^
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, ~ j7 `0 [% a) N3 D Q! h
憟賢憿5 D. Z7 _7 {( U, y2 b
: w5 c- \1 e9 m% I6 J) W' L" ?7 m( z, J& V3 N
隞亙瘨瑁 end Extension Manager ==>
B' `) q+ X! @ ]3 q' ^- f+ |# U/ S* _- |vi /etc/php.ini
/ M5 s" a1 j! z/ v/ a3 e6 u撠隞乩閮餉圾
& s m" ?: M2 F6 s7 z9 }" D8 T6 z;[Zend]
' \/ o4 E% j( b. c;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.30 @. b1 p/ M. T- }; i' V# r# w
;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3+ ^3 _- R) g- q6 l! ]9 v- o
;zend_optimizer.version=3.3.39 v. S8 k, P3 }
;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so% Z1 ~7 d/ Q) \+ l9 }
;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
4 Q' b" ?: l3 Z( F& K
, E) k/ C3 K/ @- P; n. d& y;[Zend.loader]& t0 \( Q, O6 m: H9 P
;zend_loader.enable=1
6 M" n: s) w0 Y/ };zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
% ~0 q% x3 T, ^/ o& A3 k% ?* w, J5 L, ^& ~ l" h& d
! ?* S+ M5 ^: G/ Q* ?) V, X券 httpd
$ A, C# s) M& ~4 q6 X
, M6 T# o, O* j- x. y5 O* N% O
5 M7 s, n4 E& P- z# `$ `* \( y
: v# O1 c0 {7 _+ V0 l1 \# O e |
|