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版本
- O" h0 j2 S+ W: Y) @) GCannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220100525,NTS* w6 V3 i2 u& c3 V9 L
PHP 5.4.36 (cli) (built: Dec 19 2014 06:28:27)2 {! _6 |' \+ b
Copyright (c) 1997-2014 The PHP Group
5 F: f) `6 |/ y9 w* z! x/ I! [& F- cZend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies( l1 P5 Q! _: t+ P. |. O7 C% y
' a4 T) Y; P3 K* }( n
check後 php5.3以上不支援 zend guard 與 optimizer, j- P6 T' p! n8 y" X+ m/ q

# h- m3 L: Y3 R; l* [: L" qgoogle後發現 Zend Guard Loader支援 php5.3以上,所以 安裝 Zend Guard Loader ==>! Q- y6 s1 o( L$ x$ t+ I9 P/ Q
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/
8 V4 F1 `1 R# u7 J3 F/ O: P1 ?vi /etc/php.ini
末尾增加:
[zend.loader]zend_loader.enable=1zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
& r' E; Z8 Q, ~$ k
重啟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
; X( D" L' S4 |7 ^& U9 P好像有問題4 e) X! m7 ~4 x) W2 f4 Z
+ D% H- f3 X+ C: p3 L
# l% T: w# i6 G4 H( W8 r
所以取消執行 end Extension Manager ==>8 S! U: e7 k3 B* J! Z
vi /etc/php.ini0 L& O3 V' U; Y; C) }0 a+ N4 M
將以下註解掉' j8 z4 `# \/ K( `" C0 p3 S6 C
;[Zend]9 B" m2 s, Z2 G, z& P6 V4 r4 X
;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
8 v) d" k; c" M& Y) b9 ?* G;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
: u7 B/ o6 c! K;zend_optimizer.version=3.3.3. ^  |# ]7 X$ S8 t
;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so+ R/ v; w% O' g! D2 E! R* Y4 _
;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
- V  w, W4 a. G7 V
6 U) Y) T5 a3 a5 t# s* ?;[Zend.loader]
3 `. d) a( Y$ V  H6 D0 G6 J;zend_loader.enable=10 w6 Z) T0 q0 I9 ]
;zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so5 m+ K+ ]8 H- v) I" e

) K4 \9 o- a2 m1 `5 D  \& h6 T) `6 \! E6 E
在重啟 httpd
' b/ L3 H0 g& [/ j* A/ _8 V7 j1 x* S5 R1 w8 j+ ^" X& k. o1 f, N4 }

0 L" K  b3 ~1 s9 Z' |5 n" P' L# n
# t, E4 \+ k0 S/ X* _




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