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版本
4 h* z8 Y" D0 \- R9 m6 C
Cannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220100525,NTS
4 O: K6 q7 z0 _9 ^
PHP 5.4.36 (cli) (built: Dec 19 2014 06:28:27)
; }: f2 w1 F& N
Copyright (c) 1997-2014 The PHP Group
2 r5 ^2 J/ m5 U) J+ ]
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
\# X+ z) I R/ l
) A, K' }! S& D6 j' _ m0 A ]
check後 php5.3以上不支援
zend guard 與 optimizer
$ Y+ x$ C$ T$ M' p7 M; N
4 V# F9 L, ]# g
google後發現
Zend Guard Loader支援 php5.3以上,所以 安裝
Zend Guard Loader ==>
" Z' Y, }" b$ M* [" g+ K+ n
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/
: Y) N2 i2 c9 X1 R# d2 @0 y
vi /etc/php.ini
末尾增加:
[zend.loader]zend_loader.enable=1zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
6 a" z- |; W( R) \3 A
重啟http
service httpd restartphp -v
Zend 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
0 c6 H0 a4 X E1 F. _+ i
好像有問題
% i; K* H0 _' V. K7 T- Q) J
$ }/ u% Q* [6 J0 r
" B5 z+ W. ~$ k! D$ e; m# W
所以取消執行
end Extension Manager ==>
- h1 |8 Q3 e" N$ {
vi /etc/php.ini
7 o0 a7 M: ~: @7 P/ ~' R2 M/ E! U
將以下註解掉
]9 {$ X3 c; b% D4 g. g2 X8 n
;[Zend]
4 f( ]( ?/ l& k5 \
;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
' K5 N/ t6 c- [ L
;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
0 ^5 r1 \5 d! r" S# ?0 c
;zend_optimizer.version=3.3.3
2 e* z& p7 t6 W) x$ h: P" j
;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
5 c+ f8 _9 R: h* H# Z
;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
/ P; W2 d4 t. H5 f" _3 _
& A: ]# _) d( P! O# ]
;[Zend.loader]
8 T8 r. O$ B/ L# [+ W
;zend_loader.enable=1
& \! [ |4 u, X* X
;zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
: l1 o2 ~" x5 ~) T
5 J9 x) P% j* S8 H+ x
( b: B$ G4 |. \9 P- V* h
在重啟 httpd
4 r2 K* ~& W) c) {; t
8 B I% O1 n" {. S, [* H* H: N3 T0 k
- b( t o' H$ r- y. R
0 p9 G6 B1 U1 R9 S' y+ Q
歡迎光臨 52AV手機A片王|52AV.ONE (https://www.52av.one/)
Powered by Discuz! X3.2