#php -v php
" Q' e1 m+ ~5 }1 j" bCannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220100525,NTS
4 ]) H* Q) _# r8 EPHP 5.4.36 (cli) (built: Dec 19 2014 06:28:27)
4 ]4 O& i3 y' [: R& SCopyright (c) 1997-2014 The PHP Group4 b; l& G X0 {1 `2 v# t+ |
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies5 n- ?0 N5 c6 X3 ~" u9 T
- ~% N% w: f: ^$ O6 _check敺 php5.3隞乩銝舀 zend guard optimizer. E8 @1 ]5 ^7 P+ V
! n( ~' S, o% l8 f
google敺潛 Zend Guard Loader舀 php5.3隞乩,隞 摰鋆 Zend Guard Loader ==>* j0 x+ g2 z- X9 ~3 _' F. ?0 b: E+ a# @
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/
2 D8 K: F' g# x% ^vi /etc/php.ini怠偏憓嚗 [zend.loader]zend_loader.enable=1zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so3 S8 r1 N4 n4 V. V2 l: A
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
% ^5 U1 ^0 e7 c8 _2 r憟賢憿3 X2 X& |: g) i& f: N& ~+ I
9 k# r! r# D. G9 u1 ~5 m# _; G9 S( F
* I9 T9 o; G3 M* H% `2 o
隞亙瘨瑁 end Extension Manager ==>5 t1 }! s8 f2 G1 O$ h
vi /etc/php.ini
" Y& d& |& P, C8 U3 C6 W3 _撠隞乩閮餉圾
% H$ E! q, q( s. [: _" G" I;[Zend]; A" c* u- L6 e/ O. u0 a
;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3" g; O; i4 \0 f, O: w
;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.36 ~# s2 P. G( T8 u( y& A- P2 Z
;zend_optimizer.version=3.3.36 r7 R7 I. N7 B% V6 ~6 V+ z8 x
;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so1 g/ a$ A( L( t! {3 E/ J6 r+ l. e& q
;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so1 V, A& @2 e2 k4 k0 q5 J
' ~3 O k" N1 B! m+ V;[Zend.loader]
% w, f' u/ z2 J% r) t7 O2 G+ ?;zend_loader.enable=1
8 y' x+ e6 @- Z( r7 e C3 S, ]3 Y;zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so1 h# p5 h0 f- p$ i% h
! h! A8 V# h: ?8 w' o7 x
' S) U" U. h; @' P, u
券 httpd
7 j% \8 Y$ o! }7 `9 o* M8 U. m! F5 H# W
6 i# m. }, h2 i; p
& H+ j* P% V6 U. L1 m+ r
|
|