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

 找回密碼
 立即註冊
查看: 2241|回復: 0

[linux指令] 20150109-- Cannot load Zend Extension Manager -

[複製鏈接]
發表於 2015-1-9 19:02:35 | 顯示全部樓層 |閱讀模式
tid=200&#php -v     看php版本
  }9 H1 N* G5 _  a6 c. eCannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220100525,NTS
! P8 x- N: I& x# SPHP 5.4.36 (cli) (built: Dec 19 2014 06:28:27)
* y7 R1 ]( J5 @( pCopyright (c) 1997-2014 The PHP Group* C. Y2 K: A2 o' n1 v5 X
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies/ \5 y9 V0 R+ t

7 U) L" X8 `! E6 w  f. d5 ncheck後 php5.3以上不支援 zend guard 與 optimizer, X* @- p% C9 u6 K
- I- W; p, |2 b5 A, Z& ~
google後發現 Zend Guard Loader支援 php5.3以上,所以 安裝 Zend Guard Loader ==>
" F. h+ x) {8 u0 d- zcd /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/( X0 }3 w2 }8 a: A4 \
vi /etc/php.ini
末尾增加:
[zend.loader]zend_loader.enable=1zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
" n$ o3 z4 |3 v
重啟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
0 p; F# H, K: J. s6 D好像有問題
) |. \0 ^* T! w& U8 w: i( @" U2 x
, i/ ^) X: }4 d
/ R% c. j' s/ t: Z# ]  c% i
所以取消執行 end Extension Manager ==>
8 o  d$ {( K) W* j: Mvi /etc/php.ini  j+ s5 a1 C; Z4 g$ U0 w* {
將以下註解掉3 }; v8 `9 t( }4 _) ]
;[Zend]% V1 o' g4 Q6 m) p; u+ d+ x
;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.39 E5 P, u- ?# m5 l$ }9 K
;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.36 U+ x. u3 H* R' x/ n# G1 R
;zend_optimizer.version=3.3.3
+ Q% ?# J- H- T4 q' c;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so6 f8 H- R4 h9 B' J& C+ p6 E
;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so+ d6 o* B/ E: e. C  k0 ~5 G

4 M: d# j  {- D+ b0 _;[Zend.loader]
0 w8 P) U- I6 N$ N# R/ F;zend_loader.enable=1. K% s( e2 r) w
;zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
2 D, A0 ^' T5 y1 q1 G, S; \& M9 a- E# W+ d# {
  T0 O6 N# f' o; R1 t  K
在重啟 httpd
( C( I, S; ~8 ^! j0 |, H* Q$ G' R# P
# {; N7 y! C: Y7 c1 c9 ?5 y% W

( x! H$ m5 l( z; G4 E! P( D
回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則



中文酷站排行榜

本區塊內容依據『電腦網路內容分級處理辦法』為限制級網站,限定年滿18歲以上或達當地國家法定年齡人士方可進入,且願接受本站各項條款,未滿18歲 謝絕進入瀏覽。為防範未滿18歲之未成年網友瀏覽網路上限制級內容的圖文資訊,建議您可進行網路內容分級組織ICRA分級服務的安裝與設定。 (為還給愛護 本站的網友一個純淨的論壇環境,本站設有管理員)

QQ|小黑屋|手機板| 52AV手機A片王

GMT+8, 2026-2-4 15:22 , Processed in 0.069873 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回復 返回頂部 返回列表