52AV手機A片王|52AV.ONE

標題: 20150109-- Cannot load Zend Extension Manager - [打印本頁]

作者: coav4u    時間: 2015-1-9 19:02
標題: 20150109-- Cannot load Zend Extension Manager -
#php -v     看php版本
5 W: h6 u( n' M3 rCannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220100525,NTS+ O2 L* d: _" ?) z: x
PHP 5.4.36 (cli) (built: Dec 19 2014 06:28:27)
: z& F! p, [2 z. N9 }) A1 w3 \* ]0 `6 _Copyright (c) 1997-2014 The PHP Group
/ T6 K5 S) }; p  _8 [$ sZend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies: _8 S/ c% l3 C- o2 C  t
( n% y' l' Q. x6 b) q% i; r1 a
check後 php5.3以上不支援 zend guard 與 optimizer
6 m$ {& K! Q: _3 V8 a% p$ [7 e
) j  [% I9 Z9 d
google後發現 Zend Guard Loader支援 php5.3以上,所以 安裝 Zend Guard Loader ==>) ?4 w2 l# ]1 b4 V
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/  U  ]7 h% O7 \1 e& J4 |
vi /etc/php.ini
末尾增加:
[zend.loader]zend_loader.enable=1zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so8 G3 s. E7 A. M1 }" D3 J$ r* E
重啟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 Technologies5 ?! z  p: z; Q9 H3 `4 n& G
好像有問題7 b4 i1 |4 O# c4 L5 c; O
6 m" T. r& p. q1 W/ G' ^
, q  O3 V. Y- P; _% h
所以取消執行 end Extension Manager ==>
" j% U6 f5 b; F9 r% D" x  E& o$ I7 }1 Uvi /etc/php.ini5 O3 k4 ~8 X" x/ g
將以下註解掉
7 I, r3 O& l9 ~0 @) G2 K;[Zend]
( Y/ D1 o2 `8 N" y;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3, k4 U+ r4 V4 X2 p5 Q4 H
;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
+ R( Z- \$ b" s7 r$ Y9 w;zend_optimizer.version=3.3.38 q: e! K! C( i* D+ S. @& b' C
;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
! Q9 u9 T* D% ~. A: u- K6 \;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so7 x( ~4 @7 |2 K; k0 q5 v  m3 c
: w% ?7 B) ~. k3 k, q1 s
;[Zend.loader]* p/ V& E; g: n' P  @& V. T" i
;zend_loader.enable=1$ Z/ L% i8 x5 I" T3 Z
;zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so; d1 U! N8 `' T
+ }9 {* C5 E8 u$ h. x7 r
1 l; z: U& d2 Z3 X! I5 h. s* T
在重啟 httpd8 V! I# f/ a# Y

$ G' Y! ^4 ^7 v3 c* l8 @9 U
" k6 W7 s' u8 y: A) I$ Q; g5 e  c





歡迎光臨 52AV手機A片王|52AV.ONE (https://www.52av.one/) Powered by Discuz! X3.2