#php -v php
4 S3 i& B$ x( @Cannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220100525,NTS1 n8 o2 R% u4 ~8 B$ j* x6 d
PHP 5.4.36 (cli) (built: Dec 19 2014 06:28:27)& L5 ?# O: B1 |
Copyright (c) 1997-2014 The PHP Group
: U; k' O7 v7 Z; f0 i1 qZend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies! g7 ]8 x! ]$ Z: d' Y0 a7 T
: t/ F1 Q: p6 i) I8 T) E
check敺 php5.3隞乩銝舀 zend guard optimizer' O4 P, Y6 Y* x! P8 V0 ^( X
( h4 p8 @+ c: r. P! G" U5 Pgoogle敺潛 Zend Guard Loader舀 php5.3隞乩,隞 摰鋆 Zend Guard Loader ==>
' I7 a8 e. `" z" M7 |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 n9 }5 \7 z6 w
vi /etc/php.ini怠偏憓嚗 [zend.loader]zend_loader.enable=1zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so( j3 d. O6 B- o0 ]0 y$ ]
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' U% u' P* Y3 K
憟賢憿
+ K9 k* w+ w3 }& [
: e! C/ w0 j G9 t4 t. q# m* Q0 f7 x% A/ b) ?
隞亙瘨瑁 end Extension Manager ==>
- h# I& f3 |' p+ _7 n6 T, Lvi /etc/php.ini
+ A$ x8 C8 c1 U: \/ s撠隞乩閮餉圾! O0 H4 A* Q J' l5 N1 ^
;[Zend]
" A @& b3 H F8 ]) q5 ?+ s$ N;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.31 V* }8 _( S" C& f
;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
: K. c5 j3 [- ]- J;zend_optimizer.version=3.3.3( @' ]$ R5 F( P
;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
% Y# V% C; X+ q. a1 g+ R- `4 `" p;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
* c# r* u5 p8 X! ?9 ^# H( x, e* ?. f4 i, F- o% k9 k
;[Zend.loader]
) E3 J6 X3 i& Z# P4 S' r. `;zend_loader.enable=1* }: n" C( h; `0 j+ z6 {
;zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
* N& q) {2 ^ `- j+ @# \4 C+ y2 Y
# J) ]4 k6 f3 c/ N/ A E8 P; l9 g; E$ Z- Q' v9 T# N9 F; T
券 httpd
3 u% S9 f( x; P& {: \5 c! J( y+ b p+ x$ n4 Y+ t3 X
0 z- P) ]1 u6 g4 ]
; b8 U, R- ]; n# K
|
|