Page 1 of 1

ionube

Posted: Tue Feb 13, 2007 12:17 pm
by npavlidis
Hello,

is there an rpm of ioncube enabled php available ? how can i install it ?

System: Centos 4.4-current
PHP:Version: 5.0.4
Release: 13.rhel4.art

thank you

Posted: Tue Feb 13, 2007 1:21 pm
by scott
no, I dont think the license will let me redistribute it

thoughts

Posted: Tue Feb 13, 2007 5:52 pm
by npavlidis
php-ioncube-loader-3.0-06101212.i386.rpm this package seems to exist though
(from what I see in release papers) from what i understand this comes with sitebuilder which i did not install

Would it be ok to install on the system now even though i have upgraded to php 5.0.4? do I have to install the whole sitebuilder package or can i just get the rpm from somewhere and just install that?

thanks

Posted: Tue Feb 13, 2007 9:01 pm
by agruetz
It SHOULD work but I make no garuntees. And yes you can install ioncube into any php install and have it work...assuming there are no version issues. But as far as I aware that rpm should work.

Posted: Wed Feb 14, 2007 4:04 pm
by npavlidis
ok downloaded it and here it is:

it has one file: ioncube_loader_lin_5.1.so
which is under /opt/php51/lib/php5 which does not exist under my install(w/out sitebuilder)

should i install sitebuilder properly to get it(properly meaning through the plesk installer) or sitebuilder has its own php compiled?(saying that cause i found in the sitebuilder directory this:php51-5.1.4-20060823.rhas4.i386.rpm)

Posted: Wed Feb 14, 2007 5:17 pm
by breun
I wouldn't try messing with that Sitebuilder ionCube rpm. Getting the .tar.gz from http://www.ioncube.com/loaders.php and running the installer is pretty easy.

Posted: Wed Feb 14, 2007 6:52 pm
by agruetz
breun is right it will most likely be easy to just install from source. But if i recall correctly site builder requires php 5.1.6 there for it is probally packaged in there with it.

Posted: Sat Feb 17, 2007 5:46 pm
by npavlidis
ok I tried the source solution,
downloaded the x86 tarball
createded a /usr/share/ioncube directory everything in it(.so files an the 2 php ones)
created an ioncube.ini file in /etc/php.d
added a line saying zend_extension = /usr/share/ioncube_loader_lin_5.0.so
reloaded apache
the phpinfo() says that the file IS parsed but still ioncube is not working

do I need to add anything else?

thanks