IonCube难点与PHP 5.5 [英] Ioncube difficulty with PHP 5.5

查看:131
本文介绍了IonCube难点与PHP 5.5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用以下命令在基于Ubuntu 13.10 x64的NGINX,PHP-FPM(5.5)堆栈上安装最新的ioncube加载程序

  cd / usr / local 
sudo wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
sudo tar xzf ioncube_loaders_lin_x86-64.tar.gz
mv / usr /本地/ ioncube / * / usr / lib / php5 / 20121212 /

并将以下行添加到code> php.ini

  zend_extension = / usr / lib / php5 / 20121212 / ioncube_loader_lin_5 .5.so 

在我的项目错误日志中获取以下错误



...由ionCube编码器为PHP 5编码,不能在PHP 5.5下运行。 ...

解决方案


$ b

这意味着这些文件的开发人员可以使用PHP 5.0及更高版本来执行这些文件,并且这些文件不能用PHP 5.5运行(请参阅对@ efarid08的标记回复的评论)。它们应该使用PHP 5.4工作正常,您可以要求开发人员生成一个针对PHP 5.3及更高版本的文件。除了这些文件之外,还可以使用PHP 5.5,它们也应该运行得更快,因为它们更符合目标语言,并且可以利用一些更有效的内部机制来处理某些PHP语言的功能。更好的是,开发人员可以通过使用版本8.3中的更新包含的PHP 5.5编码器来直接针对PHP。



所以,使用PHP 5.4,或者如果可能,采购更新的编码文件。您也可以随时通过 http://ioncu.be/S 与ionCube支持人员联系。



免责声明:我与ionCube相关联


Using following commands installed latest ioncube loader on Ubuntu 13.10 x64 based NGINX, PHP-FPM (5.5) stack

cd /usr/local
sudo wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
sudo tar xzf ioncube_loaders_lin_x86-64.tar.gz
mv /usr/local/ioncube/* /usr/lib/php5/20121212/

And added following line to php.ini

zend_extension = /usr/lib/php5/20121212/ioncube_loader_lin_5.5.so

Getting following error on my projects error log

... was encoded by the ionCube Encoder for PHP 5 and cannot run under PHP 5.5. ...

What am I doing wrong?

解决方案

This means that the developer of the files produced them to work on PHP 5.0 and higher, and such files cannot be run with PHP 5.5 (see comment to @efarid08's off the mark reply). They should work fine with PHP 5.4, and you could ask the developer of the files to produce a version that targets PHP 5.3 and higher instead. Aside from such files then being able to work on PHP 5.5, they should also run faster as they more closely match the target language, and can leverage some more efficient internal mechanisms for handling certain PHP language features. Better still would be for the developer to produce them to directly target PHP with the PHP 5.5 Encoder that's included with an update in release 8.3.

So, either use PHP 5.4, or procure updated encoded files if possible. You can also always contact ionCube Support via http://ioncu.be/S for assistance.

Disclaimer: I am associated with ionCube

这篇关于IonCube难点与PHP 5.5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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