ispCP - Board - Support
Installing Ioncube loader - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Installing Ioncube loader (/thread-1765.html)

Pages: 1 2


Installing Ioncube loader - scoutsniper - 11-12-2007 06:55 AM

Hi,can somebody help me to install ioncube? Thanks in advance.


RE: Installing Ioncube loader - joximu - 11-12-2007 07:01 AM

why do you want that? we support open source - and a php encoder is - at least on the first sight - not very open...

/Joximu


RE: Installing Ioncube loader - scoutsniper - 11-12-2007 07:07 AM

OK thanks to you for your help.I need this because clients want this i don't use ioncube i have one but i don't use it it costs 500 dollars.Aggain thanks.


RE: Installing Ioncube loader - joximu - 11-12-2007 07:30 AM

Ah, ok. The client/customers...

Well, maybe there is someone in this forum knowing the software - but I fear not...

It seams that you only have to install the "loader" which can read the encoded php files.
Have a look
http://www.ioncube.com/loaders.php
and
http://www.ioncube.com/loader_installation.php

Should be loaded with the php.ini of the customers domain...

/J


RE: Installing Ioncube loader - gOOvER - 11-12-2007 10:24 AM

thats very easy. Download ioncube and load the whole dir ioncube into your htdocs Dir of the Domain you want to use ioncube. Thats normally all. You don't need to write it into your php.ini.


RE: Installing Ioncube loader - bulforce - 11-12-2007 11:14 PM

Here it is... very very easy

Code:
cd /usr/src
wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
tar zxvf ioncube_loaders_lin_x86.tar.gz

Check some php information

PHP Version
Code:
php -v

Thread Safety or Not?
Code:
php -i | grep "Thread Safety"

Copy ioncube loader to the right place
*** Presuming php version 5.2 and Thread Safety Disabled
Code:
mkdir /var/www/virtual/domain.com/ioncube
cp  /usr/src/ioncube/ioncube_loader_lin_5.2.so /var/www/virtual/domain.com/ioncube

Add the extension to php.ini
Code:
nano /var/www/fcgi/domain.com/php5/php.ini

Add this at the end of the file
Code:
;[IonCube]
zend_extension = /var/www/virtual/domain.com/ioncube/ioncube_loader_lin_5.2.so
Save and exit.

Restart apache
Code:
/etc/init.d/apache2 restart

DONE!


RE: Installing Ioncube loader - scoutsniper - 11-13-2007 08:37 PM

Thanks I'm using gOOvER method! But it's good HOW-TO.


RE: Installing Ioncube loader - joximu - 11-13-2007 08:47 PM

I don't know if you're talking of the same thing.
If the php files of the customer are encoded then you need an extension in php.ini to decode the php files (the "ioncube loader") - well this sounds at least very plausible...
For the encoding you maybe don't need the extension - but for the decoding....

But since I don't know the product... maybe I'm wrong...


RE: Installing Ioncube loader - gOOvER - 11-13-2007 08:55 PM

@Joximu. You don't need to write the loader into the php.ini. Normally only create a dir named "ioncube" in the root dir of the script and put all the loaders into it. Only If this method don't work, you have to write the loader into php.ini. That's the easiest way Smile


RE: Installing Ioncube loader - joximu - 11-13-2007 09:05 PM

ah - then the encoded php files do load the loader by themselve...?
ok, this also sounds plausible...

Thanx, J