Koozali.org: home of the SME Server

Obsolete Releases => SME 8.x Contribs => Topic started by: crazybob on October 16, 2012, 01:49:59 AM

Title: PHP IonCube Loader
Post by: crazybob on October 16, 2012, 01:49:59 AM
Has anyone had any experience with IonCube loader on SME8? Did some searching, and found very little except in the Spanish forum that in 2009 said it was in the wiki. I want to install Open-Realty, and it requires the package.
TIA
Bob
Title: Re: PHP IonCube Loader
Post by: mmccarn on October 16, 2012, 02:26:57 PM
I have it installed on my SME 8 server, but don't remember the exact steps.

I think I did this (at least, I just successfully upgraded ioncube from 4.0.10 to 4.2.2 using this procedure):
1) create ~/addons (a place for downloaded addon software) and cd into it
2) download the latest iinux x86 .zip file from http://www.ioncube.com/loaders.php
  (right-click; copy link; switch to command window; wget <paste>)
3) unzip the downloaded file
4) copy the contents of the unzipped file to /usr/lib/php/modules
5) Create /etc/e-smith/templates-custom/etc/php.ini/15ioncube containing:
Code: [Select]
zend_extension = /usr/lib/php/modules/ioncube_loader_lin_5.3.so
magic_quotes_gpc = off
6) restart httpd-e-smith using sv t httpd-e-smith
Title: Re: PHP IonCube Loader [SOLVED]
Post by: crazybob on October 16, 2012, 04:00:58 PM
Thanks mmccarn,
I did a little more digging, and found and found a centos rpm for it.
http://pkgs.org/centos-5-rhel-5/atomic-i386/php-ioncube-loader-4.0.5-1.el5.art.i386.rpm.html (http://pkgs.org/centos-5-rhel-5/atomic-i386/php-ioncube-loader-4.0.5-1.el5.art.i386.rpm.html)
Copied it to an addons folder and then did a yum localinstall.
No problems

Bob