周四03282024

Last update08:15:27 PM

Back 书法论坛
欢迎您, 游客
用户名 密码: 记住我

Godaddy的Linux共享主机Ioncube组件安装教程
(1 人正在阅读本页) (1) 个游客
  • 页码:
  • 1

话题: Godaddy的Linux共享主机Ioncube组件安装教程

Godaddy的Linux共享主机Ioncube组件安装教程​ 13 年, 1 个月 之前 #328

  • dingbusan
  • 离线
  • Administrator
  • 读书解惑
  • 帖子: 240
  • 声望: 1
Ioncube组件是用来个程序加密的,但是并非所有的Linux共享主机都预装了这个组件,比如Godaddy的Linux共享主机上就不提供,但是我准备安装Joomla的一个组件,恰好需要Ioncube支持,怎么办?下面的方法很简单。

首先去Ioncube的官方网站 http://www.ioncube.com/loaders.php下载组件,提供了不同平台的包,共享主机一般下载Linux (x86)就可以了。zip包里有很多文件,比如 ioncube_loader_lin_5.2.so 和 ioncube_loader_lin_5.2_ts.so,这里的5.2指得是和PHP5.2.x相匹配,

然后确定自己的共享主机使用的PHP版本号,我的网站是PHP5.2.14,因此除了上面两个文件和ioncube-encoded-file.php、ioncube-loader-helper.php(共四个文件)外,其余的都删了(其余的不对应我的PHP5.2.14版本),在主机的根目录建立一个文件夹,取名ioncube,上传四个文件。

接着打开根目录下的PHP5.ini(如果找不到,就自己创建一个,上传到在主机根目录下),在[Zend]区段下增加一行
zend_extension=/home/content/e/x/a/example/html/ioncube/ioncube_loader_lin_5.2.so
这里的e/x/a/example(自己的主机绝对地址),请读者自己替换成相应的帐号。

[Zend]
zend_extension=/home/content/e/x/a/example/html/ioncube/ioncube_loader_lin_5.2.so


To Find Your Absolute Hosting Path如何找到自己的主机绝对地址?说明如下:
1.Log in to your Account Manager.
2.From the Products section, click Web Hosting.
3.Next to the hosting account you want to use, click Launch.
4.In the Server section, your hosting account's Absolute Hosting Path displays
.

最后打开网址 http://www.yoursite.com/ioncube/loader-wizard.php(把yoursite.com改成你自己的域名),如果看到以下信息“The ionCube Loader 3.3.20 is already installed and encoded files should run without problems.Please contact the script provider if you do experience any problems running encoded files.For security reasons we advise that you remove this Wizard script from your server now that the ionCube Loader is installed.”

就说明组件安装成功了。

如果按以上方法还是没有安装成功,也许你的服务器没有安装zend组件,安装下zend组件就ok了。
最后修改: 13 年, 1 个月 之前 由 dingbusan.
  • 页码:
  • 1
页面处理时间: 0.09 秒