我正在尝试在我的 Xampp 控制面板中使用 Zend Guard Loader 优化我的 Zend 应用程序。为了安装和配置它,我做了以下配置设置。
我已经从Zend Guard Loader for PHP 5.6 下载 Zend Guard Loader 并将其解压缩到我的D:/xampp/php/ext/Zend-Loader
.
它包含ZendLoader.dll
和php_opcache.dll
。
在我的php.ini
文件中,我已将其更新为:-
zend_extension_nts=D:/xampp/php/ext/Zend-Loader/ZendLoader.dll
[因为我的 php启用了线程安全,所以使用了zend_extension_nts ]。
我也取消了注释和修改:-
- opcache.enable=1
- zend_loader.enable=1
现在,当我使用 php -v 或使用 phpinfo() 检查它时,它没有显示 Zend Guard Loader 已启用。任何帮助将不胜感激。配置它需要花费大量时间。此外,如果有人知道如何优化 Zend 应用程序的有效方法,请提供帮助。