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版本
0 @$ C# H0 M- \3 T$ Z6 s% v2 M1 p
Cannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220100525,NTS
0 ^1 G2 B& k0 g" i8 ?* A
PHP 5.4.36 (cli) (built: Dec 19 2014 06:28:27)
% T9 Y7 z# e% {" b2 n! k8 C: v
Copyright (c) 1997-2014 The PHP Group
t+ R4 K, z3 d- C$ m
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
/ ~; P( ]: \4 a8 v
5 ^3 A1 _' H& a
check後 php5.3以上不支援
zend guard 與 optimizer
; O9 N$ ^# d2 c) ?+ e' ^& k
% L/ i) z0 F C. y
google後發現
Zend Guard Loader支援 php5.3以上,所以 安裝
Zend Guard Loader ==>
8 Y7 f0 x: a0 T
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/
! O0 ]/ a# j0 b+ G G) X* P6 n4 ]
vi /etc/php.ini
末尾增加:
[zend.loader]zend_loader.enable=1zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
; T! U6 ^3 k* `$ l' ~! d
重啟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
3 G' l W- x$ z. [1 ]6 R9 R
好像有問題
# U! c5 Z- r0 Z) f: w3 D
1 u! b, U& z' u, S6 O* {
; J* A& |1 W) }. b3 I
所以取消執行
end Extension Manager ==>
8 i- s- }9 i0 Y* I4 X9 t1 |& n
vi /etc/php.ini
}+ }! a# C0 g- e
將以下註解掉
& r8 J7 J3 d, S' H9 ?* r: b
;[Zend]
/ t" K0 ]3 K# Z$ B% {5 B4 F1 z& F- U
;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
m7 x! ?" g: m* R0 D' D. w
;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
1 i! y4 V1 m) d; h( @! `. a
;zend_optimizer.version=3.3.3
+ l0 D7 o6 Z+ \/ j# e: E& B2 F
;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
' K/ p( f0 O/ h3 b8 \, X9 a
;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
* b+ p b2 \7 f' Q& A
: V& w$ O+ w9 u$ d
;[Zend.loader]
9 K7 t: e! t# n U
;zend_loader.enable=1
% c$ r" G. w; L2 f+ L
;zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
3 y( M0 i. e% T/ t6 g0 c
! A; l. \1 y6 I5 S6 d
0 Q9 N6 w' Q' k* P
在重啟 httpd
+ w* Q1 j5 T2 T4 f: a
{- c, t/ g- `3 }0 d* `* v
. _' m# f1 M- @# z4 p1 v( _
- B9 b7 Y' v" A: l
歡迎光臨 52AV手機A片王|52AV.ONE (https://www.52av.one/)
Powered by Discuz! X3.2