[英]Zend Guard Loader not getting enabled
I am trying to optimize my Zend Application using a Zend Guard Loader in my Xampp Contol Panel. 我正在尝试使用Xampp Contol面板中的Zend Guard Loader优化我的Zend应用程序。 To install and configure this, I have done the following configuration settings. 要安装和配置它,我已经完成了以下配置设置。
I have downloaded Zend Guard Loader from Zend Guard Loader for PHP 5.6 and extract it in my D:/xampp/php/ext/Zend-Loader
. 我已经从PHP 5.6的Zend Guard Loader下载了Zend Guard Loader,并将其解压缩到我的D:/xampp/php/ext/Zend-Loader
。
It contains ZendLoader.dll
and php_opcache.dll
. 它包含ZendLoader.dll
和php_opcache.dll
。
And in my php.ini
file, I have updated it as:- 在我的php.ini
文件中,我将其更新为:-
zend_extension_nts=D:/xampp/php/ext/Zend-Loader/ZendLoader.dll
[As my php is thread safe enabled, and so used zend_extension_nts ]. [由于我的php已启用线程安全 ,因此使用了zend_extension_nts ]。
Also i have uncommented and modified:- 我也没有评论和修改:-
And now when I check it using php -v or using phpinfo(),Its not showing Zend Guard Loader enabled. 现在,当我使用php -v或phpinfo()检查它时,它没有显示启用的Zend Guard Loader。 Any help would be appreciated.It taking a hell lot of time to configure it.Also If anyone knows the effective ways how to optimize the Zend Apllication,Please help. 任何帮助将不胜感激。配置它需要花费大量时间。此外,如果有人知道如何优化Zend Apllication的有效方法,请提供帮助。
You also need to load php_opcache.dll
after ZendLoader.dll
. 您还需要在php_opcache.dll
之后加载ZendLoader.dll
。
Also the directive zend_extension_nts
should be zend_extension
. 指令zend_extension_nts
应该是zend_extension
。 There is no zend_extension_nts
and zend_extension_ts
has been removed since PHP 5.3.0. 从PHP 5.3.0开始,没有zend_extension_nts
并且zend_extension_ts
已被删除。
So you php.ini should have these lines: 因此,您的php.ini应该具有以下几行:
zend_extension=D:/xampp/php/ext/Zend-Loader/ZendLoader.dll
zend_extension=D:/xampp/php/ext/Zend-Loader/php_opcache.dll
zend_loader.enable=1
Try this: 尝试这个:
Download VC++2008 x86 from https://www.microsoft.com/en-us/download/details.aspx?id=11895 从https://www.microsoft.com/zh-cn/download/details.aspx?id=11895下载VC ++ 2008 x86
Install it and restart the webserver. 安装它并重新启动Web服务器。
My version was PHP 5.6 nts on Win Server 2008 R2 Enterprise x64 我的版本是Win Server 2008 R2 Enterprise x64上的PHP 5.6 nts
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.