如何在Xampp上安装Zend Guard Loader [英] How to install Zend Guard Loader on Xampp

查看:73
本文介绍了如何在Xampp上安装Zend Guard Loader的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用Zend Guard编码文件的软件.由于PHP 5.3及更高版本不支持Zend Optimizer,因此我必须安装Zend Guard Loader 才能在Windows xampp安装上运行该应用程序.

I have been using a software which files are encoded by Zend Guard. Since PHP 5.3 + versions don't support Zend Optimizer hence I have to install Zend Guard Loader to run that application on my windows xampp installation.

我下载了Zend Guard loader并复制到xampp文件夹中,然后将以下几行编辑到php.ini文件中.

I downloaded Zend guard loader and copied to xampp folder.Then I edited the following lines to php.ini file.

zend_extension ="E:\xampp\ZendGuardLoader\php-5.4.x\ZendLoader.dll"
zend_loader.enable=1

然后重新启动xampp,但它给出 php5.dll丢失错误,然后我从互联网下载了php5.dll文件并上传到xampp/php文件夹并编辑了以下文件 xampp \ apache \ conf \ extra \ httpd-xampp.conf 在这里,我编辑了这一行

Then restarted the xampp but it was giving php5.dll missing error then I downloaded php5.dll file from internet and uploaded to xampp/php folder and edited following file xampp\apache\conf\extra\httpd-xampp.conf here I edited this line

LoadFile "/xampp/php/php5ts.dll"

到LoadFile"/xampp/php/php5.dll"

to LoadFile "/xampp/php/php5.dll"

然后php5.dll错误消失了,并发生了以下错误:

then the php5.dll error gone and the following error occurred:

过程入口点zend_new_interned_string不能位于动态链接库E:\ xampp \ ZendGuardLoader \ php-5.4.x \ ZendLoader.dll中"

"the procedure entry point zend_new_interned_string could not be located in the dynamic link library E:\xampp\ZendGuardLoader\php-5.4.x\ZendLoader.dll"

当我尝试在Internet上搜索时,发现这是xampp php中启用了线程安全" 的问题.我不知道如何禁用线程安全"或如何在Xampp中使用非线程安全" php版本.

When I tried to search on internet then found that this is the issue with 'Thread Safety' is enabled in xampp php. I don't know how to disable 'Thread Safety' or how to use 'Non Thread Safety' php version with xampp.

请帮助我在Windows 8 os Xampp 1.8.1和php 5.4.x上<<安装Zend Guard Loader

推荐答案

在浪费更多的时间进行检查之前,请查看phpinfo()的输出是否显示启用了线程安全.

Before you waste any more time checking, see if phpinfo() output shows that Thread Safety is enabled or not.

Zend扩展程序是NTS(非线程安全的),因此,如果启用它,则无法加载,并且您需要NTS PHP来加载Guard Loader扩展程序.

Zend Extensions are NTS (non thread safe) so if it is enabled, it cannot load and you need NTS PHP to load Guard Loader extension.

还有

不能禁用线程安全,它是一个编译标志以及编译后的二进制文件的工作方式.

Thread Safety cannot be disabled, it is a compilation flag and how the compiled binary works.

您需要加载另一个非线程安全的Apache PHP模块(php.net会同时发布TS和NTS版本).

You need to load a different Apache PHP Module which is non-thread-safe (php.net releases both TS and NTS builds).

看看 http://forums.zend.com/viewtopic.php?f=57&; t = 43013

这篇关于如何在Xampp上安装Zend Guard Loader的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆