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版本
- {( ^, g8 Q3 R7 t; R
Cannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220100525,NTS
% `' C! A! ?* h: C1 k3 K% p
PHP 5.4.36 (cli) (built: Dec 19 2014 06:28:27)
" k b) g3 Z. w7 S
Copyright (c) 1997-2014 The PHP Group
$ ?7 y" h/ o" {, q/ l+ m5 h: _
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
5 H g. n. m9 X2 H# f: k/ {, X+ M
! \: r- x" j2 X4 ^6 z
check後 php5.3以上不支援
zend guard 與 optimizer
1 c$ f1 V# L2 c O4 y+ d
* u. t4 f- g- J# }
google後發現
Zend Guard Loader支援 php5.3以上,所以 安裝
Zend Guard Loader ==>
" h3 c8 D$ ~) N7 \3 R! R
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/
5 Z" P2 ^* z1 |3 _ G$ E
vi /etc/php.ini
末尾增加:
[zend.loader]zend_loader.enable=1zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
. N6 V0 {5 K# \7 A9 O
重啟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
& H* i* Z8 Y; n- N/ d; [& t
好像有問題
4 v, e# k: p8 g& H
7 w( U! k6 g- m: }: T
( {9 ]) J' M+ z7 k2 G& f% Q. X
所以取消執行
end Extension Manager ==>
o2 V, t, G+ J1 ^
vi /etc/php.ini
) l0 t r: l: L! U
將以下註解掉
7 v% R4 D, o$ G1 X9 O6 D
;[Zend]
4 q4 x! E0 l; L4 @. U3 o
;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
8 P6 V3 |6 @. a
;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
* P& t4 ~0 |0 M. l1 k+ J; B
;zend_optimizer.version=3.3.3
9 v: f! @# o) x3 l* p
;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
0 `" C3 F3 t) s
;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
( g0 a$ L1 } v" j5 Z0 F* ~
* p5 ~3 E3 D/ v7 R, H9 ]
;[Zend.loader]
8 r( J$ N" U; `! `' \
;zend_loader.enable=1
& C/ q# y8 C6 }$ Y0 C+ F
;zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
+ ^0 U7 Z$ y7 M9 r6 r" @
( x- ?5 J) Q" Z, m* d ]
1 Z V$ X ~5 u9 A
在重啟 httpd
$ C) V) J+ x! J% H: B9 y
7 e% S/ S( N& A
. \' D" |$ n/ z( e' ~2 X* h3 }3 }
5 Z, W. i' O" u1 e# \8 S
歡迎光臨 52AV手機A片王|52AV.ONE (https://www.itech.casa/)
Powered by Discuz! X3.2