【发布时间】:2013-08-16 03:06:03
【问题描述】:
我已经使用 php.ini 配置为所有脚本文件添加了一个 PHP 文件:
auto_prepend_file = "./file.php"
然后我在运行脚本时遇到了这个错误:
Site error: the file /home/user/public_html/path/index.php requires the
ionCube PHP Loader ioncube_loader_lin_5.3.so to be installed by the website
operator. If you are the website operator please use the ionCube Loader Wizard
to assist with installation.
由于脚本是由ionCube编码的,有什么办法可以解决吗?
更多细节,这里是file.php的内容:
<?php
$_SERVER['SERVER_ADDR'] = '100.101.102.103';
$_ENV['SERVER_ADDR'] = '100.101.102.103';
$HTTP_SERVER_VARS['SERVER_ADDR'] = '100.101.102.103';
?>
【问题讨论】:
-
为购买的脚本设置一个虚假的服务器 ip,现在这听起来并不可疑
-
@Dagon:你为什么有偏见?我的问题是我购买的脚本在我们的云网络上,并且服务器在 NAT 后面有一个私有 IP 地址。而且此脚本与此网络设计不兼容。我已经为它支付了 700 美元,但我不能使用它。该脚本验证 3 项:域、IP、路径,我只是对 IP 地址有问题。
-
所以和卖家谈谈,你在购买它时一定会违反你同意的条款。
-
@Dagon:是的,我已经在那里开了一张支持票,还在等待......他们解决我们的问题真的很慢......