win 2008 安裝php的Zend Guard Loader安裝解決方案

來源:互聯網
上載者:User
win 2008 安裝php的Zend Guard Loader安裝
遵照一下說明安裝:
結果提示錯誤
Invalid library (maybe not a PHP library) 'ZendLoader.dll'


汗,貌似外文網站也沒找到辦法,不知道是不是我沒搜尋對關鍵字。

我的安裝環境是 windows 2008 +iis7 +php5.3.10(是線程不安全)




Zend Guard Loader安裝說明
1。下載Zend Guard Loader包。(下面是官方地址,最文章底部有本地附件)
Linux:
x86:http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz
x64:http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz
Windows:
http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-Windows.zip

2。並提取ZendGuardLoader.so(Linux)或ZendLoader.dll(Windows)上傳到伺服器。

3。載入ZendGuardLoader,配置PHP.INI
例子:
zend_extension=C:\web\PHP\ext\ZendLoader.dll
zend_loader.enable=1
zend_loader.disable_licensing=0
zend_loader.obfuscation_level_support=3
zend_loader.license_path=
複製代碼

下面逐一說明
注意windows版的只支援NTS(非安全執行緒)版的PHP5.3,即phpinfo中Thread Safety為disabled的.
在你的php.ini檔案中添加以下行:
Linux和Mac OS X:zend_extension=
Windows的非安全執行緒的:zend_extension=

4。添加下面這行載入ZendGuardLoader:
;啟用載入編碼指令碼。預設開啟
zend_loader.enable=1

5。可選:配置ZendGuardLoader
;禁用檢查授權(出於效能原因)
zend_loader.disable_licensing=0
;配置混淆水平 0 - 不支援混淆
zend_loader.obfuscation_level_support=3
;配置尋找授權檔案的路徑
zend_loader.license_path=

6. 如果你同時使用Zend debugger,請保證載入Zend guard Loader後再載入Zend debugger

7. 如果你同時使用Ioncube loader,請保證載入Ioncube loader後再載入Zend guard Loader

8。重啟Web服務。
------解決方案--------------------
我的也載入不成功 系統和你一樣的
------解決方案--------------------
十一文,還是考慮轉到Linux吧!
------解決方案--------------------
引用:
引用:

十一文,還是考慮轉到Linux吧!
這是不可能的啊

得重裝系統 重新託管 成本太大。


機房有義務給你們重做系統。
只需要抽出半天時間 事先做好備份,當然要在本地先調試好,然後做好系統後什麼ftp之流就行了...

不過換系統最怕的是出現莫名其妙的錯誤,哈哈哈 比如有的地方寫得不規範 資料庫 啥的.相反
linux下移植到win卻變得很輕鬆.
  • 聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.