我从 ioncube 下载 ioncube_loader并提取一个文件 ioncube_loader_win_5.3.dll 我添加 C:\wamp\bin\php\php5.3.10\ioncube_loader_win_5.3.dll
使用时,我在wampserver中添加php.ini:
zend_extension_ts = "C:/wamp/bin/php/php5.3.10/ioncube_loader_win_5.3.dll"
但是当使用ioncube运行代码时出现错误:
Site error: the file C:\wamp\www\test.php requires the ionCube PHP Loader ioncube_loader_win_5.3.dll to be installed by the website operator. If you are the website operator please use the ionCube Loader Wizard to assist with installation.
如何解决
最佳答案
PHP 5.3 php.ini 不再支持
zend_extension_ts
请使用zend_extension
请确保您的 WAMP 是 32 位,ionCube Loader 仅支持 32 位(适用于 Windows),请将您的 WAMP 重新安装为 32 位。
http://www.ioncube.com/loaders.php
Windows VC6 (x86)
Windows VC6(非 TS)(x86)
Windows VC9 (x86)
Windows VC9(非 TS)(x86)
所有列表仅x86
关于php - 在wampserver上安装ioncube时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10039289/