简体   繁体   English

whmcs / install / install.php由适用于PHP 5的ionCube编码器编码,不能在PHP 5.5下运行

[英]whmcs/install/install.php was encoded by the ionCube Encoder for PHP 5 and cannot run under PHP 5.5

When I tried to install whmcs, I got this error. 当我尝试安装whmcs时,出现此错误。

/whmcs/install/install.php was encoded by the ionCube Encoder for PHP 5 and cannot run 
under PHP 5.5.\n Please ask the provider of the script to provide a version encoded with 
either the ionCube Encoder for PHP 5.3 or for PHP 5.4. in Unknown on line 0

My Server has PHP 5.5.8, Apache/2.4.6 (Ubuntu) 我的服务器具有PHP 5.5.8,Apache / 2.4.6(Ubuntu)

How can I fix this issue without downgrading PHP ? 如何在不降级PHP的情况下解决此问题?

It looks like you're using an older version of the ionCube Loader that isn't compatible with PHP5.5. 看来您使用的是与PHP5.5不兼容的ionCube Loader的旧版本。 They've released an updated version that apparently works with PHP5.5 . 他们发布了一个显然可以与PHP5.5一起使用的更新版本。 You can download new versions here: http://www.ioncube.com/loaders.php 您可以在此处下载新版本: http : //www.ioncube.com/loaders.php

The problem is the people of WHMCS as they won't update their system to be compatible with 5.5 as they wrote us. 问题是WHMCS的人员,因为他们在写给我们时不会更新其系统以使其与5.5兼容。 It might take months or longer until this perhaps will happen they wrote to us! 他们写信给我们可能要花上几个月甚至更长的时间! As this thread is from February 2014 you see that until now nothing has pappened and it looks as they have no solution at all available now, nor they want to deliver the code unencoded for the time being or decode it with another php-encoder or reencode WHMCS with ioncube for php 5.5. 由于该线程是从2014年2月开始的,因此您可以看到到目前为止没有任何问题,而且看起来他们现在根本没有可用的解决方案,他们也不想暂时交付未编码的代码,或者不希望使用其他php-encoder对其进行解码或重新编码WHMCS与ioncube的PHP 5.5。

the people from ioncube wrote: 来自ioncube的人们写道:

we cannot offer a solution at this time ... Again, this is not a deliberate restriction, but rather a result of PHP's tremendous changes in their execution engine. 我们目前无法提供解决方案。同样,这不是故意的限制,而是PHP执行引擎发生巨大变化的结果。 For now the only fix for you appears to be to downgrade for PHP 5.4. 目前,唯一适合您的解决方案似乎是将PHP 5.4降级。

And WHMCS wrote WHMCS写道

Exactly, so as of our next major release we will no longer be supporting PHP 5.2 so that we can encode using the version of Ioncube which supports PHP 5.3 and above. 的确,从下一个主要版本开始,我们将不再支持PHP 5.2,以便我们可以使用支持PHP 5.3及更高版本的Ioncube版本进行编码。 The current version of WHMCS still supports PHP 5.2, so at this time it isn't possible for us to distribute a single copy which supports 5.2 and 5.5+. WHMCS的当前版本仍支持PHP 5.2,因此,目前我们无法分发支持5.2和5.5+的单个副本。

and

I can advise that we will not be releasing v6.0 this weekend, a beta is expected in the next few months. 我可以建议我们不会在本周末发布v6.0,预计在未来几个月内将发布beta。

Therefore it is advised to switch probably to better applications which got updated to PHP 5.5 already. 因此,建议可能切换到已经更新到PHP 5.5的更好的应用程序。

ie

www.wefact.com/wefact-hosting/pricing/ www.wefact.com/wefact-hosting/pricing/

hostbillapp.com/pricing hostbillapp.com/pricing

thehostingtool.com/home (FREE) thehostingtool.com/home(免费)

http://shinesoftware.github.io/shineisp/ (FREE) http://shinesoftware.github.io/shineisp/ (免费)

www.clientexec.com/pricing.php www.clientexec.com/pricing.php

www.boxbilling.com/order (FREE and cheap pro license) www.boxbilling.com/order(免费且廉价的专业许可证)

Which one of those would be the best alternative to WHMCS we don't know, you need to test them! 我们不知道其中哪一种是WHMCS的最佳替代品,您需要对其进行测试!

Read also here Ioncube difficulty with PHP 5.5 The problem seems to be ioncube AND WHMCS as they seem to ignore the progress and improvements made in PHP. 在此处也阅读Ioncube PHP 5.5困难问题似乎是ioncube和WHMCS,因为它们似乎忽略了PHP的进步和改进。

The people from ioncube just wrote me again which makes the problem very clear: 来自ioncube的人们再次给我写信,这使问题非常清楚:

Hi, 嗨,

We strongly urge our Encoder customers (such as WHMCS) to encode for PHP 5.3 or higher, since this will provide PHP 5.5 and PHP 5.6 support. 我们强烈建议Encoder客户(例如WHMCS)使用PHP 5.3或更高版本进行编码,因为这将提供PHP 5.5和PHP 5.6支持。 If they do not comply and do not offer PHP 5.5 and 5.6 support, it is their choice in doing so. 如果他们不遵守并且不提供PHP 5.5和5.6支持,则这是他们的选择。 While WHMCS has announced PHP 5.5 support a few months back ( blog.whmcs.com/?t=92179 ) and they have the means to encode a version with PHP 5.5 support, there are no updates on this as of yet. 尽管WHMCS几个月前已经宣布支持PHP 5.5(blog.whmcs.com/?t=92179),并且它们可以对支持PHP 5.5的版本进行编码,但目前尚无更新。 However, this is a problem that WHMCS has to handle, as we are unable to force them to upgrade their scripts. 但是,这是WHMCS必须处理的问题,因为我们无法强迫他们升级其脚本。

Are your applications explicitly using PHP 5.6 or PHP 5.5 features? 您的应用程序是否明确使用PHP 5.6或PHP 5.5功能? If not, then you should still be able to downgrade to PHP 5.4. 如果没有,那么您仍然应该能够降级到PHP 5.4。 The adaption for PHP 5.6 (and even PHP 5.5) is still extremely low (less than 5% for 5.5, less than 1% for 5.6), so any commercial script providing exclusive PHP 5.5 support is not economically viable (Source: w3techs.com/technologies/details/pl-php/5/all ). PHP 5.6(甚至PHP 5.5)的适应性仍然很低(5.5低于5%,5.6低于1%),因此任何提供独家PHP 5.5支持的商业脚本在经济上都不可行(来源:w3techs.com) / technologies / details / pl-php / 5 / all)。 If you are running your own scripts using PHP 5.5 and 5.6 language features, it should be possible to replace these files for now with PHP 5.4 compliant scripts until your dependencies have released PHP 5.5 / 5.6 support. 如果您正在使用PHP 5.5和5.6语言功能运行自己的脚本,则现在应该可以使用兼容PHP 5.4的脚本替换这些文件,直到您的依赖项释放了PHP 5.5 / 5.6的支持。

Regarding the limitation: As stated in previously, due to tremendous changes in the PHP 5.5 execution engine, we were forced to abandon PHP 5.2 support. 关于限制:如前所述,由于PHP 5.5执行引擎的巨大变化,我们不得不放弃对PHP 5.2的支持。 This is not a deliberate decision to purposefully break PHP 5.2 or lower support, but rather a limitation of our engineering resources. 这不是故意破坏PHP 5.2或更低版本支持的故意决定,而是对我们工程资源的限制。 Until PHP 5.5, our Loaders have contained complex code that allows old and incompatible files to work on newer versions of PHP. 在PHP 5.5之前,我们的加载程序包含复杂的代码,该代码允许较旧且不兼容的文件在较新版本的PHP上运行。 This is technically challenging to develop, requiring the Loader to analyse and actually modify parts of the compiled code on the fly to make them work, but even though the Loader is free, it's something we always invested as much time and money in as was necessary to achieve. 这在技术上具有挑战性,需要Loader即时分析并修改部分已编译的代码以使其正常工作,但是即使Loader是免费的,我们也总是在此方面投入了大量的时间和金钱实现。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM