#php -v php
+ x) c$ ^1 Q) ^* b6 d6 M& f8 tCannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220100525,NTS
2 ^6 U5 h' p+ cPHP 5.4.36 (cli) (built: Dec 19 2014 06:28:27)& o. n- l. ~2 h9 S3 s# n s* G
Copyright (c) 1997-2014 The PHP Group* l* R# F; i5 K ?2 r
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies) c5 c" q# E" l g" v$ d9 Q( W
! c# t7 O/ C r+ C/ x& l
check敺 php5.3隞乩銝舀 zend guard optimizer
$ u% n$ a8 g( |( U
, \$ [, z2 N* igoogle敺潛 Zend Guard Loader舀 php5.3隞乩,隞 摰鋆 Zend Guard Loader ==>* H5 i2 _2 q, ~# g! I0 b
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/ d; j3 [2 D" t: M) V+ Y" l" _
vi /etc/php.ini怠偏憓嚗 [zend.loader]zend_loader.enable=1zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so& E4 ?3 K& o& s9 Q! p
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
, ^# q/ h9 |6 M0 w6 C憟賢憿
4 `: n9 B9 Z/ s1 n& \; p
$ I( I% x' F3 A6 y) s# o# ~! e% [) v# h' `4 V# k0 L
隞亙瘨瑁 end Extension Manager ==>4 E ?/ }0 Q6 T6 A) U0 q
vi /etc/php.ini
! B* |% r$ O8 \ s撠隞乩閮餉圾$ v- X6 B! z3 u4 Z' Z& q4 r
;[Zend]
" H% |' u: i) x+ f# P, C;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.32 I* ?4 p+ }* D
;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.30 g9 u" g* @- ]
;zend_optimizer.version=3.3.3
: V) J% t4 X9 O2 a' y( Z;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
& V! F0 }, ~3 w+ ?7 N;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
# i$ r* K& ?* ?, H5 d7 c: N2 h" \8 C1 F8 k& {4 b* A
;[Zend.loader]0 F( @3 @2 u7 A
;zend_loader.enable=1% R2 Q( e# i$ x1 q* y P4 `9 x2 I
;zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so( m' x% I+ G9 T& ]( `
" a/ G& i4 z c; R% K2 b$ n" ?3 R
* E- C1 [, n2 G: y2 Y0 h
券 httpd
! G+ r3 o2 x4 w
) o9 X( S |, f& |$ G' V
& F6 q0 a. C+ F7 D+ |8 J- Q( V4 x( E: U2 B. E* V% R
|
|