Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows Plesk上的ZendOptimizer、ZendGuard、IonCube和sourceguardian_Windows_Plesk_Ioncube - Fatal编程技术网

Windows Plesk上的ZendOptimizer、ZendGuard、IonCube和sourceguardian

Windows Plesk上的ZendOptimizer、ZendGuard、IonCube和sourceguardian,windows,plesk,ioncube,Windows,Plesk,Ioncube,我已经在Windows server 2008 R2上安装了Plesk 11.5。 在Plesk安装中,我有3个不同版本的PHP PHP5.2.17-PHP5.3.27-PHP5.4.16 我试图安装的内容如下: 在PHP5.2.17上:Ioncube-SourceGuardian-ZendOptimizer 在PHP5.3.27上:Ioncube-SourceGuardian-ZendGuard 在PHP5.4.16上:Ioncube-SourceGuardian-ZendGuard 我的PH

我已经在Windows server 2008 R2上安装了Plesk 11.5。 在Plesk安装中,我有3个不同版本的PHP

PHP5.2.17-PHP5.3.27-PHP5.4.16

我试图安装的内容如下: 在PHP5.2.17上:Ioncube-SourceGuardian-ZendOptimizer 在PHP5.3.27上:Ioncube-SourceGuardian-ZendGuard 在PHP5.4.16上:Ioncube-SourceGuardian-ZendGuard

我的PHP是线程安全的,所以对于IonCube和SourceGuardian,我下载了ts版本。 对于每个PHP安装,我将相应的.dll和.win文件放在ext文件夹中,然后在PHP.ini中调用它们,如下所示:

zend\u extension\u ts=“E:\Parallels\Plesk\Additional\pleskpphp5[x]\ext\extension\u name.dll”

其中[x]是每个PHP版本对应的地址,扩展名.dll是扩展名(扩展名.win,如果我正在调用sourceguardian)

现在问题来了:

在PHP5.2.17上:IonCube工作-SourceGuardian给出500个内部错误-ZendOptimizer工作 在PHP5.3.27上:什么都不起作用[就像PHP甚至不看那些调用行一样!] 在PHP5.4.16上:什么都不起作用[就像PHP甚至不看那些调用行一样!]

现在,在每种情况下,我都测试了这些文件的所有可用版本,它们与我的PHP版本相对应。例如,对于SourceGuardian,我测试了PHP5.3的x86、x64和VC6版本。我还试着把它们放在各自的文件夹中。例如:IonCube/extension_name.dll。但PHP似乎并没有看到我在这里所说的东西

我检查了phpinfo()输出,我确信我正在编辑正确的php.ini文件

如果你能告诉我如何解决这个问题,我将非常感激


提前感谢

您的直觉实际上是正确的,因为zend_扩展在PHP5.3中被删除了。对于5.3及以上版本,请使用zend_扩展。

非常感谢您的回答。我可以看到php现在读取我的行。ionCube正在开发PHP5.3,ionCube和ZendGuard都在开发PHP5.4。但sourceGuardian仍然不走运……别忘了投票,并将答案标记为已接受的答案:)如果您实际上不需要sourceGuardian或任何其他扩展,那么为了保持系统精简并尽量减少未来的升级任务,通常最好将其删除。