#php -v php
( r$ A$ E4 Q& l8 h. _: [$ \Cannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220100525,NTS
2 Y4 Q/ P, |5 x$ ~# uPHP 5.4.36 (cli) (built: Dec 19 2014 06:28:27)
3 O% D" M4 J0 T) @Copyright (c) 1997-2014 The PHP Group- `5 ^2 H' ^% x2 `
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
5 k! {5 N2 g6 p
4 _/ E- D5 k0 P- Xcheck敺 php5.3隞乩銝舀 zend guard optimizer$ O' E& L& p( }5 j! |
5 S6 H2 O5 B; _/ D2 s; U, T$ F
google敺潛 Zend Guard Loader舀 php5.3隞乩,隞 摰鋆 Zend Guard Loader ==>1 k. G0 l" {: w+ g
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/
8 N8 W5 b( S4 i! L0 s, P8 @- rvi /etc/php.ini怠偏憓嚗 [zend.loader]zend_loader.enable=1zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so# ~! w# W1 {1 Z5 T6 D+ F- m
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
% h% w/ F' j( q! L( O" Q憟賢憿
/ ` g1 e+ r3 a( q
, q3 x' a# X! f p: Z. @
4 I8 B" H% a) x+ m0 c$ M3 r* \隞亙瘨瑁 end Extension Manager ==>
- W4 V5 x$ b! {5 I, x6 u5 vvi /etc/php.ini5 D4 T G4 D0 M/ C
撠隞乩閮餉圾
7 C6 l1 Q/ k! U7 z$ [;[Zend]
/ @, t G& `8 j( f* _;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3) ? \9 `& j5 K& B4 z9 S
;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.32 F* t/ r1 a8 m& i6 ^
;zend_optimizer.version=3.3.3
$ U2 f ^3 W$ ~7 r# J1 K;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
" e: H( r7 O; Y# A;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so9 S; [/ _0 {) p
" B% F0 J# V7 y+ d+ G4 r
;[Zend.loader]
' [" \" z( t" W; c;zend_loader.enable=17 c* X* Y8 m, r7 O* m- z5 `* Y3 [0 N
;zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
: d' S5 U. R" N2 l9 I1 p. h/ k$ Y" h6 i, q) t, X
; L& G3 |7 b$ r, A# _券 httpd
5 l7 y6 J! B- G' ?) Q5 P& J% b$ w1 ^& x3 i8 y; X
; p% t# H z5 [* B2 ~
, O1 d. M" a# j+ }# i' D R/ ]1 a3 U
|
|