#php -v php
2 l8 ?% T* Y: \0 n! x0 zCannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220100525,NTS
/ f1 k( F; E |' y! |PHP 5.4.36 (cli) (built: Dec 19 2014 06:28:27)$ a/ b/ z" C$ n2 Q& M2 X" ~
Copyright (c) 1997-2014 The PHP Group, y6 l7 V/ G4 _. D: ]5 `
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies* X( _, n+ R) y, f1 ~* \
) t9 G( [; h" b, H( _
check敺 php5.3隞乩銝舀 zend guard optimizer
3 _, W. l9 v8 [9 U$ U$ o G- H
; t! E6 s5 y2 j# s5 ~8 ?google敺潛 Zend Guard Loader舀 php5.3隞乩,隞 摰鋆 Zend Guard Loader ==>
0 \/ P, Y3 n! p! y! ncd /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/
1 h4 ^" c! y$ a. F) i/ pvi /etc/php.ini怠偏憓嚗 [zend.loader]zend_loader.enable=1zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
( b1 B6 S9 f4 T L3 ^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. C4 |( A% q- s6 m" z: B5 L* I. c
憟賢憿
' O& N% w2 o1 e$ H, g1 T2 u, v( t( a1 O7 |
# v+ V& z4 ]: }$ _) |& k隞亙瘨瑁 end Extension Manager ==>" S" k9 [; b$ s+ Z# t; J6 K( t
vi /etc/php.ini
) x# u" `3 R3 f: Z8 K! W) Y3 M撠隞乩閮餉圾0 L, M: ?, s( U' }; ~, _' T$ n
;[Zend]
7 h* a; \ c' H \" E;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
- W# U4 G: J) V6 w- Q;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
4 [3 ~7 m2 E+ T8 l+ Q, e0 N4 @1 V;zend_optimizer.version=3.3.3& b8 u; ]/ X% K. G) ^% J: K2 p# I5 a9 |+ ~
;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so+ y. y! H6 w( z9 w# S! ~
;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so7 X7 `: j. h5 }* O
% z* v& V7 j1 `;[Zend.loader]
e: c# Z' f+ W/ D;zend_loader.enable=1- J5 }" @; t( F8 k
;zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
5 q2 j) E4 f" H$ a" u
; n" U( [+ v7 Y! R* n" n5 o( s1 \: A [, l( g' E& Z
券 httpd
C! R8 s. C/ P( v f* o. W5 R' T6 Y6 s% E9 L. [. D2 p, Y; E
; v! ~+ r/ { V2 }8 L) H! a9 N5 f* n: a
|
|