Koozali.org: home of the SME Server

PHP IonCube Loader

Offline crazybob

  • ****
  • 894
  • +0/-0
    • Stalzer R&D
PHP IonCube Loader
« 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
If you think you know whats going on, you obviously have no idea whats going on!

Offline mmccarn

  • *
  • 2,626
  • +10/-0
Re: PHP IonCube Loader
« Reply #1 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

Offline crazybob

  • ****
  • 894
  • +0/-0
    • Stalzer R&D
Re: PHP IonCube Loader [SOLVED]
« Reply #2 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
Copied it to an addons folder and then did a yum localinstall.
No problems

Bob
If you think you know whats going on, you obviously have no idea whats going on!