#php -v php
( b$ @5 i) L3 y1 I" \Cannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220100525,NTS
' ~. l0 l. f" i: JPHP 5.4.36 (cli) (built: Dec 19 2014 06:28:27)
) `* U6 T% l7 t6 m: A% P/ l2 _Copyright (c) 1997-2014 The PHP Group$ K6 S2 t6 e( N* a6 F. v" t2 x
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies# R0 U* y. C6 b$ l
; W" s0 e4 y6 \0 T* dcheck敺 php5.3隞乩銝舀 zend guard optimizer
6 |& B0 w5 q6 ~& [& h0 i+ G5 s9 _- d4 B, K- |/ d
google敺潛 Zend Guard Loader舀 php5.3隞乩,隞 摰鋆 Zend Guard Loader ==>0 Q* J! t5 V! X9 b; S; f+ @
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/# V2 J8 V9 |. S% r; n" d
vi /etc/php.ini怠偏憓嚗 [zend.loader]zend_loader.enable=1zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
; u7 o4 X+ l2 u0 g# 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; X) M/ o9 G8 q {
憟賢憿
8 h9 \8 D& q) A$ a1 g
6 q( w s) F/ t& G# ~
/ D* K, t$ D* ~9 h+ \! W' T0 U隞亙瘨瑁 end Extension Manager ==>
) W/ _# c2 p# F1 S; D; yvi /etc/php.ini: E, c" L4 }3 Q" [/ y7 V; o; S L
撠隞乩閮餉圾/ }' x, j% c) O4 D) }3 j5 t
;[Zend]
" Q. D3 D" x! m J* y5 x;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3/ V2 u6 s; E J3 Z. U
;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.32 D. y, L, O, y/ M2 Y
;zend_optimizer.version=3.3.3# o3 s; f2 l5 A" q i* o3 ?+ m- n
;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so: v5 {: g6 f# L+ C
;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so) U. A5 @# q: A& r7 d6 W. B Q+ X
/ K8 g* h, V& Q$ C6 ^9 E2 T% \
;[Zend.loader]
1 ] x8 |1 c6 ]( C6 s1 m;zend_loader.enable=1
~" d: Z, r# R' N" o3 x* y;zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
0 n& e, z2 ]* x: G- t+ |: }5 _3 V+ m8 H
' T% K, A# e7 y1 E券 httpd+ g# G! A7 M6 ~$ i' e: F
' c0 |2 F6 I9 W, E2 y, A3 r3 O. D1 p/ F% z7 p
1 l5 h6 R0 t: Q/ S( R4 o
|
|