windows開啟Zend Guard Loader認證配置

來源:互聯網
上載者:User

標籤:alt   opcache   download   isa   位置   去掉   rod   .dll   檔案   

        關於Zend Guard Loader也是很煩人的東西,安裝的PHP內建有Zend,但是可能會沒有Zend Guard Loader這個東西,你可以在自己的phpinfo中搜尋guard看有沒有zend guard這個東西,沒有的話就需要重新安裝了。

        : http://www.zend.com/en/products/loader/downloads#Windows

下載的檔案中包含: ZendLoader.dll、php_opcache.dll ;同樣放到 C:\wybsofts\phpStudy\php\php-5.6.27-nts\ext 就可以了。另外php_opcache.dll在檔案夾中可能已存在了,替換即可

注意!!以上檔案均根據PHP系統版本下載對應版本(phpinfo中查看‘Architecture’參數),以及所用PHP是nts還是ts(看 ‘PHP Extension Build‘ 參數)

在PHP.ini 最後添加代碼:
[ZendLoader]
zend_extension="C:\wybsofts\phpStudy\php\php-5.6.27-nts\ext\php_opcache.dll"      //可能已存在,或已存在未啟用
zend_extension="C:\wybsofts\phpStudy\php\php-5.6.27-nts\ext\ZendLoader.dll"      //根據自己的路徑填寫地址
zend_loader.enable=1
zend_loader.disable_licensing=0
zend_loader.obfuscation_level_support=3
zend_loader.license_path=‘C:\wybsofts\phpStudy\WWW\b2b2c\config\developer.zl‘      //認證所在位置

        php.ini中尋找‘always_populate_raw_post_data‘,如果沒有就添加:"always_populate_raw_post_data = -1",有就把分號去掉(個人項目需要)

        最後重啟伺服器,檢查phpinfo中是否配置成功:

在PHPstudy中可以看到:(剛開始是為啟用並且是紅叉)

有疑問請聯絡我Q2216244671

 

windows開啟Zend Guard Loader認證配置

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.