#php -v php
8 v* q* Y$ y0 }3 u2 E) h- |Cannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220100525,NTS
, b$ x2 C- k% cPHP 5.4.36 (cli) (built: Dec 19 2014 06:28:27)% ^- T' {) h ~% {, F
Copyright (c) 1997-2014 The PHP Group- g1 g- M+ i* d; H
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
4 X2 `. H6 D! f2 F- ~% t/ x" g5 o: S* z
$ l7 @$ R4 T) F" j/ o8 @) v# W9 O- Ocheck敺 php5.3隞乩銝舀 zend guard optimizer
8 @1 \5 l$ C4 ~1 W0 y7 z# N# {% `+ E/ A d7 _
google敺潛 Zend Guard Loader舀 php5.3隞乩,隞 摰鋆 Zend Guard Loader ==>
( }$ A( k1 c. l' Acd /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/
$ A- ~2 A) y O: [% N7 t- Fvi /etc/php.ini怠偏憓嚗 [zend.loader]zend_loader.enable=1zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
% z6 p e9 B8 r6 X( f, ohttp 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 Technologies6 p r2 U& v% Q! g6 O$ B
憟賢憿' @) ^2 `$ Q5 e
( S$ c' k }( H# H W
( ]& v, e7 T" F2 D' Y, X隞亙瘨瑁 end Extension Manager ==>
$ U3 D! z' G$ f5 a0 r/ Ivi /etc/php.ini
" l. i. i+ R" J% V, r% U: I& H2 C撠隞乩閮餉圾
/ Q A, m. B! c/ w7 {;[Zend]
' i2 V& b- J' t/ q;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
- W2 u" w4 n! H) Z;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
4 M5 a( n: [' A* K; y: ~( P6 d;zend_optimizer.version=3.3.3
* c8 ?. O+ t" H3 k( u$ @;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
) Y/ e6 g/ V8 W2 N+ V/ V; M;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
6 c1 u- O+ k5 S' h3 f7 k- c( q: e8 ]6 I+ P
;[Zend.loader]
( A& A7 m5 [1 h: Q;zend_loader.enable=1& W, ^$ S* Q. J& _" J3 k h
;zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so5 j: l$ f9 R2 y/ q& h
0 p! X' B- ?, |5 U9 M: h
0 P0 ]# Y0 D" w: k券 httpd
8 m/ s, O3 w, a3 e8 V2 e6 W, \# k" `3 {
! _/ A9 m; f! L$ |7 r) y
& D8 v# K, [. F8 Y: P |
|