#php -v php6 X' q: s# d4 g- `, V8 @" m
Cannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220100525,NTS0 N9 n" O% h& f4 }
PHP 5.4.36 (cli) (built: Dec 19 2014 06:28:27)
! f9 x0 l3 O5 @2 k5 |Copyright (c) 1997-2014 The PHP Group! o5 E$ v0 d* T& u0 T6 A1 q- b0 _
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
+ R/ F0 l* s) s# s: b2 w0 {5 Z5 z# j) L0 R2 f" D
check敺 php5.3隞乩銝舀 zend guard optimizer
4 V. [3 k# g, B j4 \4 e' I8 T1 |0 l. x0 I( X
google敺潛 Zend Guard Loader舀 php5.3隞乩,隞 摰鋆 Zend Guard Loader ==>) d r% x) Y ~2 N
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/3 f9 G4 Q$ l. L! N& d2 }( ~
vi /etc/php.ini怠偏憓嚗 [zend.loader]zend_loader.enable=1zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
# D9 B9 v6 [1 Shttp 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
8 u2 S5 M- O. B- F7 A憟賢憿# H; w5 B$ Z, }: s' G- s# H7 A
4 P% a6 v( {: U; a0 P% B
0 ] `% B* p3 G& C' }' ]9 i隞亙瘨瑁 end Extension Manager ==>* P# s3 k2 N: T
vi /etc/php.ini
* g) ~8 w; }8 P! d+ @撠隞乩閮餉圾
' z/ A8 R$ w5 `4 ~, ?3 c, P. w;[Zend]
t8 m7 Y$ E Y;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.39 u) u6 J. ?' O2 U% u$ `- A
;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
) W9 b5 @6 v8 \( {: G;zend_optimizer.version=3.3.3
1 h7 s1 D) U+ ]3 [;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so' C% J& j( z, K1 g2 h( ~
;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so0 c9 W. Q. E% Q+ X+ g+ f- g, z
$ s2 o3 e4 A$ ?# N Y;[Zend.loader]
: n) p6 x" e+ F- `: E;zend_loader.enable=1
% d0 k1 P2 v% ^5 q: Y;zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so8 j+ f/ ~# Y8 {, c) {8 z% J2 [" T+ ]' q
6 j9 d. d7 m5 {" n' o m# b$ d4 }1 M7 ~0 l# `/ F& R
券 httpd' j. v: x8 U9 f: y
5 D% ?2 X2 j7 e" J/ r# ~ U
6 [9 f% u, q6 k3 O6 k$ g) d: I' C5 o4 Z* [# q, J: V# K% X1 h
|
|