如何安装ioncube扩展

2012-05-23 09:03:02
王春生
108131
最后编辑:先知 于 2018-04-18 16:15:09
简介:禅道的加密软件使用的是ioncube,本篇文章向您讲述如何部署安装ioncube的扩展。
禅道专业版本的核心代码都是加密的(前端的html, css, js, 配置,语言项是开源的。),使用的加密软件是 ioncube,因此要能运行禅道专业版本的软件,先要安装ioncube扩展。

一、下载loader-wizard.php(支持php5.3、php5.4、php5.5、php5.6、php7.0、php7.1版本

ioncube提供了一个安装的向导程序,可以非常方便的帮助检测php的运行环境,自动给出提示。

1.1 通过下面的地址下载loader-wizard:http://www.ioncube.com/loader-wizard/loader-wizard.zip

1.2 下载之后,将其解压缩,到apache的www或者htdoc目录。

二、运行loader-wizard.php程序

2.1 使用浏览器访问loader-wizard.php 比如 http://localhost/loader-wizard.php 实际的访问路径根据情况修改。

2.2 这个loader程序经过计算之后,会自动给出提示(下图只是一个例子,具体操作需要根据贵公司网页访问loader-wizard.php后显示的界面操作):

  • 根据这个向导程序的提示,下载相应的解密软件。
  • 将下载下来的解密软件放在它指定的目录中。
  • 下载向导程序计算出来新的php.ini文件,替换系统原来的php.ini文件。注:如果提示要下载00-ioncube 开头的文件放在某个目录,可以把这个文件下载后打开,把里面的代码复制到 php.ini 粘帖在第一行,保存php.ini后不需要把00-ioncube文件拷贝到服务上。
  • 重新启动webserver,如果用的是nginx 需要重启一下php-fpm服务

2.3 验证是否安装成功

重新启动之后,再次访问loader.php,如果安装成功,系统会提示。

看到这个界面,就表示解密软件已经安装成功了。

    评论列表
    孙智华 2018-03-13 19:13:52
    C:\xampp\apache目录没有www或者htdoc目录 这个压缩包放在哪?
    石洋洋 2018-03-14 08:16:19
    只要放在网页可以访问的目录,然后用浏览器访问即可。
    朱峰 2018-02-12 17:26:09
    目前是一键安装包的9.5.1 php解压后放置在 htdoc中
    http://localhost:10080/loader-wizard.php打开内容开不大明白 截取如下,请帮忙判断是出了什么问题
    ?Download one of the following archives of Windows ' . $sysinfo['PHP_COMPILER']; if (!$sysinfo['THREAD_SAFE']) { $download_str .= ' non-TS'; } $download_str .= ' ' . $loader['arch'] . ' Loaders:'; echo $download_str; $basename = windows_package_name(); echo make_archive_list($basename,array('zip','ipf.zip')); echo "
    Please note that the MS Windows installer version is suitable either for direct installation on a Windows machine or for uploading from a local PC to your server.
    "; echo 'A Loaders archive can also be downloaded from ' . LOADERS_PAGE . '.'; } else { echo '

    ?Download a Windows Loaders archive from here. If PHP is built with thread safety disabled, use the Windows non-TS Loaders.'; } } else { list($basename,$multiple_os_versions) = unix_package_name(); if ($basename == "") { echo '
    ?Download a ' . $loader['osname'] . ' ' . $loader['arch'] . ' Loaders archive from here.'; echo "
    Your system appears to be ${loader['osnamequal']} for ${loader['wordsize']} bit. If Loaders are not available for that exact release of ${loader['osname']}, Loaders built for an earlier release should work. Note that you may need to install back compatibility libraries for the operating system."; echo '
    If you cannot find a suitable loader then please raise a ticket at our support helpdesk.'; } else { echo '
    ?Download one of the following archives of Loaders for ' . $loader['osnamequal'] . ' ' . $loader['arch'] . ':'; if (SERVER_SHARED == find_server_type()) { $archives = array('zip','tar.gz','tar.bz2','ipf.zip'); } else { $archives = array('tar.gz','tar.bz2','ipf.zip'); } echo make_archive_list($basename,$archives); echo "
    Please note that the MS Windows installer version is suitable for uploading from a Windows PC to your ${loader['osname']} server.
    "; echo "
    "; if ($multiple_os_versions && !$exact_match) { echo "
    Note that you may need to install back compatibility libraries for ${loader['osname']}.
    石洋洋 2018-02-12 17:28:57
    一键安装包中默认已经集成好了 ioncube,不需要安装的。
    yezi 2018-02-06 17:56:52
    ionCube Loader Wizard
    Please note that the following problems currently exist with the ionCube Loader installation:
    The following ini file could not be found by the Wizard: C:\php-5-2-fastcgi\php.ini
    This may be due to server restrictions in place.
    The necessary zend_extension line could not be found in the configuration.
    Please note also the following issues:
    Some functions are disabled through disable_functions. This may affect the operation of this Loader Wizard.
    You are on a platform on which ionCube Loaders are no longer being developed. Loaders on your platform may not be able to run files produced by the latest ionCube Encoder. Please switch, if possible, to a platform on which loaders are currently supported. A list of currently supported platforms is shown on our loaders page.

    To use files that have been protected by the ionCube PHP Encoder, a component called the ionCube Loader must be installed.

    For a local server you should install the ionCube Loader using the php.ini configuration file. (Please click here if you are not on a local server.)

    Installation Instructions
    Download one of the following archives of Windows VC6 x86 Loaders:
    zip
    MS Windows installer
    Please note that the MS Windows installer version is suitable either for direct installation on a Windows machine or for uploading from a local PC to your server.
    A Loaders archive can also be downloaded from http://loaders.ioncube.com/.

    Put the Loader files in C:\windows\system32
    Edit the file C:\php-5-2-fastcgi\php.ini and before any other zend_extension_ts lines ensure that the following is included:
    zend_extension_ts = "C:\windows\system32\ioncube_loader_win_5.2.dll"
    Restart the IIS server software.
    When the server software has restarted, click here to test the Loader.
    这情况是。。。
    禅道-Bee 2018-02-06 18:15:47
    可以联系下禅道官网顶部的商务QQ,邀请加入禅道技术交流群,在群里截图下报错信息。
    孟德伟 2018-01-24 16:24:34
    扩展安装成功了,试用版插件也安装成功了,但测试报告界面还是看不到导出按钮?是什么原因,我公司要先看下效果
    石洋洋 2018-01-24 17:18:19
    到 组织-权限 分配一下导出权限,退出重新登录后试一下。
    杨景峰 2018-01-22 19:39:10
    打开/loader-wizard.php 显示:

    $v) { $tmp_key = urlencode(is_int($k) ? $numeric_prefix.$k : $k); if ($key) $tmp_key = $key.'['.$tmp_key.']'; if ( is_array($v) || is_object($v) ) { $res[] = php4_http_build_query($v, null , $tmp_key); } else { $res[] = $tmp_key."=".urlencode($v); } } $separator = ini_get('arg_separator.output'); return implode($separator, $res); } function script_version() { return "2.55"; } function retrieve_latest_wizard_version() { $v = false; $s = trim(remote_file_contents(WIZARD_LATEST_VERSION_URL)); if (preg_match('/^\d+([.]\d+)*$/', $s)) { $v = $s; } return $v; } function latest_wizard_version() { if (!isset($_SESSION['latest_wizard_version'])) { $_SESSION['latest_wizard_version'] = retrieve_latest_wizard_version(); } return $_SESSION['latest_wizard_version']; } function update_is_available($lv) { if (is_numeric($lv)) { $lv_parts = explode('.',$lv); $script_parts = explode('.',script_version()); return ($lv_parts[0] > $script_parts[0] || ($lv_parts[0] == $script_parts[0] && $lv_parts[1] > $script_parts[1])); } else { return null; } } function check_for_wizard_update($echo_message = false) { $latest_version = latest_wizard_version(); $update_available = update_is_available($latest_version); if ($update_available) { if ($echo_message) { echo '

    An updated version of this Wizard script is available here.
    '; } return $latest_version; } else { return $update_available; } } function remote_file_contents($url) { $remote_file_opening = ini_get('allow_url_fopen'); $contents = false; if (isset($_SESSION['timing_out']) && $_SESSION['timing_out']) { return false; } @session_write_close(); $timing_out = 0; if ($remote_file_opening) { $fh = @fopen($url,'rb'); if ($fh) { stream_set_blocking($fh,0); stream_set_timeout($fh,IONCUBE_CONNECT_TIMEOUT); while (!feof($fh)) { $result = fread($fh, 8192); $info = stream_get_meta_data($fh); $timing_out = $info['timed_out']?1:0; if ($timing_out) { break; } if ($result !== false) { $contents .= $result; } else { break; } } fclose($fh); } else { $timing_out = 1; } } elseif (extension_loaded('curl')) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); .................
    禅道-Bee 2018-01-23 08:24:45
    使用的什么部署方式,一键安装包部署的话,不需要再次安装ioncube扩展;如果是源码安装的,需要检查下webserver的配置,php文件没有解析。
    etime00 2018-01-13 18:11:40
    The following problems have been found with the ionCube Loader installation:
    The ionCube Loader must be the first Zend extension listed in the configuration file, C:\php_53\php.ini.
    The necessary zend_extension line could not be found in the configuration.
    提示这个,要怎样操作才对?
    石洋洋 2018-01-15 08:58:37
    按照下面的提示步骤操作即可,第3步中的代码 直接复制到 php.ini 第一行 保存 重启服务即可。
    etime00 2017-12-01 10:38:34
    To upgrade from version 4.0.14 to version 10.0.4 of the ionCube Loader, please replace your existing loader file, ioncube_loader_lin_5.3.so, with the file of the same name from one of the following packages: 这是指那个目录,找不到?
    禅道-Bee 2017-12-01 11:22:46
    可以在php.ini配置中查找下,里面有具体的路径。
    璞玉 2017-11-01 10:45:57
    你好,我这边用了禅道的9.5.1版本的开源linux软件,现在我将下载的/opt/zbox/app/htdocs/loader-wizard.php 放在这里,安装你们的提示输入http://localhost/loader-wizard.php ,我修改了localhost ,但是无法打开页面进行下一步,请问是什么原因。
    禅道-Bee 2017-11-01 12:10:30
    访问这个地址,页面显示什么?这儿不方便截图,可以联系下官网顶部的商务QQ,邀请加入禅道技术交流群,进行讨论。
    qiushui 2017-09-28 14:37:49
    已经安装好了ioncube,The ionCube Loader version 10.0.3 for PHP 7.0 is installed and encoded files should run successfully.

    打开禅道,仍然报错,显示

    Fatal error: The file E:\workspace\php\www\zentaopms\module\common\ext\model\class\bizext.class.php was encoded by the ionCube Encoder for PHP 5.3 and cannot run under PHP 7.0. Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 5.6. in Unknown on line 0

    14:36:22 The file E:\workspace\php\www\zentaopms\module\common\ext\model\class\bizext.class.php was encoded by the ionCube Encoder for PHP 5.3 and cannot run under PHP 7.0.
    Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 5.6. in Unknown on line 0 when visiting
    请看下这是怎么回事呢,php是7.0呀
    禅道-Bee 2017-09-28 15:16:38
    使用的是php7.0的环境,但是使用的插件包是5.6-5.6的包;可以使用php7的插件包,解压后,源码覆盖一下;然后再后台、插件、本地安装,上传php7的插件包,进行安装。操作之前,做好备份。
    Ken 2017-08-26 11:39:11
    PHP 7.1.8 安装 ioncube 10.0版本, 安装向导 里提示安装成公,phpinfo里也是正常的 但是 访问whmcs 提示500错误,请问是什么原因呢, 权限已经给了 谢谢
    春哥 2017-08-28 08:58:19
    1. 我们的程序加密还不支持php7.1版本。
    2. whcms不是我们开发的系统。请自己根据错误日志排查下。
    1/3
    发表评论
    评论通过审核后显示。