频道栏目
首页 > 资讯 > php > 正文

PHP安装ioncube扩展步骤

17-12-25        来源:[db:作者]  
收藏   我要投稿

什么是Ioncube

ionCube was founded in 2002, and introduced tools to protect software written using the PHP programming language from being viewed, changed, and run on unlicensed computers. The encoding technology grew out of earlier work on the PHP Accelerator project, and at first launch included an online encoding service where PHP scripts can be uploaded and an encoded version downloaded in return, and a command line tool for Linux soon after. The tools use the technique of compiling to bytecode prior to encoding so that source code is eliminated, and runtime overheads are reduced. A PHP extension called the ionCube Loader handles the reading and execution of encoded files at run time. —— [ 维基百科 ]

翻译过来就是说,ioncube是一个保护使用PHP编程语言编写的软件不被查看的工具。这些工具使用在编码之前编译为字节码的技术,从而消除了源代码,减少了运行时开销(加密)。还有一个名为ionCube Loader 的PHP 扩展在运行时处理编码文件的读取和执行(解密)。

安装步骤

检测php版本

ioncube不支持测试版本的php,所以在使用之前,可以先查看phpinfo,来确定自己的php版本。确保phpinfo界面的 Debug Build 为 no ,如下图所示:

这里写图片描述

下载loader-wizard.php

../201510/GridViewLiveTiles.html

注意:支持php5.3、php5.4、php5.5、php5.6、php7.0版本

解压移动到指定目录

下载好了之后,将其解压缩,然后整个目录放到web根目录

运行loader-wizard.php程序

打开浏览器,输入地址http://localhost/ioncube/loader-wizard.php

如果大家设置了虚拟主机,请输入对应的地址 + /ioncube/loader-wizard.php

这个loader程序经过计算之后,会自动给出提示:

这里写图片描述

按照程序给出的步骤开始

程序运行后,会给步骤提示,然后按照他这个提示,一步步的来就可以了。

这里写图片描述

根据这个向导程序的提示,下载相应的解密软件 将下载下来的解密软件放在它指定的目录中 下载向导程序计算出来新的php.ini文件,替换系统原来的php.ini文件 重新启动apache

###验证是否成功

重启后, 点击页面第五步给出的那个链接,就会看到是否成功啦,成功如下图所示

这里写图片描述

不成功的话会有新的提示,照着一步步来就可以搞定啦

相关TAG标签
上一篇:Android面向切面(AOP)编程实战
下一篇:使用FileZilla上传文件操作教程
相关文章
图文推荐

关于我们 | 联系我们 | 广告服务 | 投资合作 | 版权申明 | 在线帮助 | 网站地图 | 作品发布 | Vip技术培训 | 举报中心

版权所有: 红黑联盟--致力于做实用的IT技术学习网站