ioncube installation problem

ioncube installation problem

Posted by: chandan
Posted on: 2008-01-29 22:13:00

I want to install ioncube in my php server. I already upload ioncube_loader_lin_5.2.so in ioncube folder. Because 5.2 in my php version. ioncube folder is in joomla install directory. And set zend extension path in php.ini file like zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so.But do not work this installation

Re: ioncube installation problem

Posted by: sXi
Posted on: 2008-01-29 22:48:00

In reply to:

And set zend extension path in php.ini file like zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so


php.ini:

[ioncube]
zend_extension="/home/username/ioncube/ioncube_loader_lin_5.2.so"


Did you follow the installation procedure outlined in the Wiki article regarding Ioncube?



Re: ioncube installation problem

Posted by: mainestratman
Posted on: 2008-07-12 02:12:00

I've done everything step-by-step.. still not working.

Question though on the "username" portion...

I have the ioncrap stuff loaded in the domain.com/ioncube folder.

So would the zend command line in my custom php.ini file (which is working fine) be:

/home/usename/domain.com/ioncube/ioncube_loader_lin_5.2.so

or

/home/.japanization/usename/domain.com/ioncube/ioncube_loader_lin_5.2.so

According to my phpinfo, the custom php file is in:
/home/.japanization/usename/domain.com/cgi-bin/php.ini


Not that it really seems to matter at this point.. I've tried both with and without ".japanization" and neither works.

Oi.





Re: ioncube installation problem

Posted by: sXi
Posted on: 2008-07-12 06:33:00

Put the .so in a folder called ioncube created in the user's root.

Path: home/user/ioncube/ioncube_loader_lin_5.2.so


The mount point .japanization can be added to the path in your php.ini, but it's superfluous.


Re: ioncube installation problem

Posted by: teguh123
Posted on: 2008-07-28 07:39:00

You know, I am now using PHP Version 4

PHP Version 4.4.8

System Linux teguh123 2.6.22.14-opteron-vserver-4.1.0-grsec2.1.11-vs2.2.0.5 #1 SMP Mon Dec 17 13:16:38 PST 2007 i686

So why the runtime loading doesn't work?

Re: ioncube installation problem

Posted by: sXi
Posted on: 2008-07-28 10:10:00

Use the php.ini method rather than the runtime method.

You will require a custom php.ini & the lin_x86 ioncube loader.

Loader package from ioncube.com here.



Re: ioncube installation problem

Posted by: teguh123
Posted on: 2008-07-28 11:49:00

It's working. Thanks a lot man

Re: ioncube installation problem

Posted by: sXi
Posted on: 2008-07-28 23:13:00

No worries mate. They reckon the php.ini method performs better too wink


Re: ioncube installation problem

Posted by: teguh123
Posted on: 2008-07-28 23:53:00

There are 2 versions of the so files. I think one for 64 and one for 32. I am not sure... The one provided by the link in this thread work.

Re: ioncube installation problem

Posted by: rlparker
Posted on: 2008-07-28 23:57:00

The wiki article on installing the IonCube loader warns of this:

In reply to:

... you'll now need to download the appropriate Linux (x86 or x86-64) ionCube Loader package onto your DreamHost account from either the main ionCube Download page or directly from here.

You can tell what version of the ionCube loader package for Linux you will need to use by inspecting the first section of the output of the phpinfo.php program you just created, and looking at the "System" description section. For example, consider the following phpinfo() output:

System Linux bugsy 2.6.24.6-p4-modules-peon-grsec #1 SMP Thu May 15 22:08:43 PDT 2008 x86_64

In this example, the "x86_64" following the time stamp information indicates you would need the "x86-64" version of the ioncube loader package.


http://wiki.dreamhost.com/IonCube_Loader

--rlparker
--DreamHost Tech Support

Re: ioncube installation problem

Posted by: teguh123
Posted on: 2008-07-29 00:19:00

That's the thing

Linux teguh123 2.6.22.14-opteron-vserver-4.1.0-grsec2.1.11-vs2.2.0.5 #1 SMP Mon Dec 17 13:16:38 PST 2007 i686

So which one should I download? My program requires PHP5.2 So I started over.

This time it no longer works.

Re: ioncube installation problem

Posted by: teguh123
Posted on: 2008-07-29 00:20:00

Ups it works. Looks like we need to wait a little bit before trying.

Re: ioncube installation problem

Posted by: sXi
Posted on: 2008-07-29 06:34:00

Yeah it's a bit difficult to make a call following the Wiki word for word when shell only reports that it's i686 but a rule of thumb - albeit a pretty ordinary backyard mechanic's thumb - is if an OS doesn't specify it's x86_64; then it isn't.

It doesn't hurt to load the wrong one while trying them out. You can tell fairly quickly if the one you've loaded is the correct version. There's usually a helper.php (or something similar) that comes with the ioncube packages that you can upload and run to query the server and it'll tell you precisely which loader you need. Pretty neat really.


Re: ioncube installation problem

Posted by: teguh123
Posted on: 2008-07-29 21:24:00

I did it thanks.

Just for the record that ioncube helper doesn't help much either. They tell you the file you need but there are several version of such files.

Re: ioncube installation problem

Posted by: teguh123
Posted on: 2008-07-29 21:29:00

I did it thanks.

Just for the record that ioncube helper doesn't help much either. They tell you the file you need but there are several version of such files.

Also based on what you said then we're using a 32 bit processors.

However opteron is a 64 bit CPU.

Tags: php serverini filephp versionzendioncube