#php -v php
" z9 b: _- e) u) a4 Y+ f- \Cannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220100525,NTS
8 o; U, [6 a: b7 q# gPHP 5.4.36 (cli) (built: Dec 19 2014 06:28:27)7 b. I# ~5 V! J. d: o& U
Copyright (c) 1997-2014 The PHP Group, p, V! b2 F! b* V" G
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies# q- F1 V) G$ ?- J; x9 M) ~
. b7 w# X' z/ _: |check敺 php5.3隞乩銝舀 zend guard optimizer1 ~" P0 h5 i5 u4 h
2 n. W! G$ J. G# P3 N7 Lgoogle敺潛 Zend Guard Loader舀 php5.3隞乩,隞 摰鋆 Zend Guard Loader ==>
7 W3 {4 L4 O) v# Scd /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/. g$ w5 V4 n" J# L/ C8 I
vi /etc/php.ini怠偏憓嚗 [zend.loader]zend_loader.enable=1zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
0 k) c1 L2 q1 R+ P# r; qhttp 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
! k! H, l9 d0 z0 @' K# n H' `, Z憟賢憿9 D G9 L. t' y, ?5 ]3 @: Y
; C9 j" q: |. b# K( c. }9 i. j: q% w) L$ q
隞亙瘨瑁 end Extension Manager ==>" D# s( m8 G1 q2 p
vi /etc/php.ini; Y5 B1 W) ]) `, V
撠隞乩閮餉圾
+ D' H8 C: m, ]5 W/ J;[Zend]
+ B) ]) j% |( t. G& @# O5 _;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
$ U) S8 r5 H; _& x: N. w( h;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3' K, P9 d8 Z, H& M8 W$ N. ?
;zend_optimizer.version=3.3.3
* b0 ^4 s3 U6 e( u) I;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so& f1 U: U N" z+ C9 y: c
;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
4 c Q0 h' C' R
' W. K1 D1 W8 A) p X6 Z;[Zend.loader]% Q) n7 t+ J, C% B% c7 f2 N3 W2 @
;zend_loader.enable=1" X1 A7 u4 [9 _9 g# q- @
;zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
m/ f5 C3 E# S7 O7 @
$ @6 g! D2 ]& T$ q, a; `6 P' K" T$ R! ^" J/ B9 }! k
券 httpd/ Z# W, D/ Q/ Q B2 L( B9 u5 U- \
/ _* A, K% J6 J2 f6 O* `
4 Q9 w0 F. h% h& V2 x, j
; l+ i5 n! ]# H2 v( S8 V |
|