#php -v php
& y. M9 C4 T! U) k8 h; C5 e; vCannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220100525,NTS t, s/ P8 q4 b" c: B
PHP 5.4.36 (cli) (built: Dec 19 2014 06:28:27), S. E+ h+ S7 H$ M1 @$ y
Copyright (c) 1997-2014 The PHP Group
, S1 q- }0 L! l7 I& UZend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
5 z- T' M, r8 p" F2 _9 d
3 M& z6 C: |- d( X1 Ucheck敺 php5.3隞乩銝舀 zend guard optimizer$ i x+ B) Q# I0 ?
/ B" U3 |7 p$ c+ O* O5 a
google敺潛 Zend Guard Loader舀 php5.3隞乩,隞 摰鋆 Zend Guard Loader ==>; R7 `( J& M; z3 l/ h
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/
- ~5 Y5 \+ j# W3 ]vi /etc/php.ini怠偏憓嚗 [zend.loader]zend_loader.enable=1zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so7 F5 x- j+ p6 U2 o: ^
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
`/ y3 c/ g F憟賢憿
9 a* x) n! s% f& @) i8 l4 r* Z' L
; W( Y6 o: w m! s% ~7 g
隞亙瘨瑁 end Extension Manager ==>% P m7 o/ r9 Y8 i t R; d! |
vi /etc/php.ini
; d% R/ s0 V7 k$ f: a撠隞乩閮餉圾
; V) ^( u: B+ e# P, r" G;[Zend]" t# i# L( w5 C' m
;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3, o- I9 d- W$ ?5 V
;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
3 `8 C& H3 i7 \+ P1 s3 I" Z l;zend_optimizer.version=3.3.3# [' F3 p8 o. C, i! v& }
;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
; C9 I, J3 ]) Y: G6 M) O;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so4 z% [$ `, U) ?1 A) N9 B2 k
2 a! T ~% g/ j% |, C* C
;[Zend.loader]
" i' A6 Z& _" C;zend_loader.enable=16 Y% N8 Q) X. `7 y! \: t
;zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
( ^4 p! g2 L ^" s* k x z- r2 L4 p( `2 j3 e. c
1 l* V, J: c" J2 l0 V
券 httpd% D9 g. N8 P2 a3 J5 z. n
9 g8 T+ Q0 \1 r: O8 r' b* n
4 j% g0 ~' V0 Z- `. ^' W+ F0 A! k
; g+ e7 f5 n/ I8 `% a$ M' { |
|