PDA

View Full Version : How do I install ioncube


Erock
06-28-2006, 06:43 AM
Hi Everyone,

I have read the FAQ for this.

I am finding it difficult to sort this.....

I have a folder in my public_html , and IONCUBE is a subfolder of this.

Now the next part....I cannot find this php.ini file anywhere? Or is this a generic term for the PHP install file?

Now you need to edit your php.ini file and add the following line to the begining of the [zend] section

zend_extension = /home/username/ioncube/ioncube_loader_lin_4.3.so

please can somebody offer some assistance.

Thanks

Erock
06-28-2006, 07:05 AM
Ok, after reading other posts , I have moved the IONCUBE folder above public_html.

Now about this PHP.INI file? I don't have a clue.

areidmtm
06-28-2006, 09:27 AM
With in your public_html directory there should be a php.ini file. If not you can download here 18 (remove the .txt)

Open the file up in a text editor and add the lines that you need to.

Also you will have to place that edited php.ini file in EVERY folder that uses PHP files that need to have the added lines.

SVFan
07-27-2006, 06:57 PM
Erock, Did you ever get IonCube to work? I've already tried numerous variations, but still haven't got it to work.

I installed Ioncube to /home/<usrname>/ioncube.

I edited the php.ini file and placed it everywhere i could possibly think of and still no luck. The instructions also state the webserver needs to be restarted, but from other posts know that's not going to happen, so is it even possible to get this script running? Also, there is no mention on the control panel what version of Linux is running. There is the kernel version, but that is "2.6.15-7_1.BHsmp" and there isn't a version number that corresponds to the ioncube .so files (only v4.0-5.1).

Searching the forum, there are no posts that I can see that offer a solution to getting this installation to work. So if you've successfully installed IonCube, please let us know what and how you did it. I would greatly appreciate it.

alligosh
07-27-2006, 07:47 PM
The instructions also state the webserver needs to be restarted, but from other posts know that's not going to happen, so is it even possible to get this script running?

The webserver runs with suexec, so it does not need to be restartedfor this.

If you arestll having issues, send an email to support, they can fix this type of thing in their sleep.

:)

SVFan
07-28-2006, 06:00 AM
I got it to work and I thought I would post how I did it. I got pretty frustrated, so I probably did a few extra steps that I did not need to, but here it goes. (Note, these instructions are possibly specific to getting the plugin working that I mention in step 1).

1) I installed IonCube to get a plugin running for Joomla called Stalytics (http://www.soft-evolution.com/en/joomla/). This Joomla Component requires IonCube to be correctly configured, however their documentation is poor and generic and doesn't really help much in terms of BlueHost.

2) My first mistake is I was trying to install the 32-bit version. BlueHost support told me to use the 64-bit version; even tho they have both the 32-bit and 64-bit versions on their HelpDesk center and don't make mention of which to use. I can only presume some servers are still 32-bit. I am not sure how one would tell whether or not to use the 32-bit or 64-bit without asking or just trying both.

3) Editing the PHP.ini file (which was attached by areidmtm in the previous posts) needs to have the line /home/<usrname>/ioncube/ioncube_loader_lin_4.4.so. Again I do not know if this is server specific in terms of the version number. Do a search for [zend] and place it in the [zend] section. Save the file and upload it to...

4) This is where I did extra steps. I have Joomla installed on two sub-domains. I tried uploading php.ini to their root directories, but I needed more. So I also uploaded it to

/public_html/<subdir>/components
/public_html/<subdir>/templates/<template-directory>
/public_html/<subdir>/administrator
/public_html/<subdir>/administrator/components/com_installer
/public_html/<subdir>/administrator/components/com_installer/mambot
/public_html/<subdir>/administrator/components/com_installer/component
/public_html/<subdir>/administrator/components/com_installer/module

5) Since I wasn't sure which directories in specific needed the php.ini I just did a bunch of uploading. There appears to be no negative effects of having extra php.ini files, except that if I need to make changes, I will have to make them all over my site.

My Joomla plugin is now working properly. Hopefully this will help others. Thanks to those who offered help.

Erock
07-31-2006, 08:11 AM
Ioncube - no luck at all, still scratching my head.

Scrapped the db in the end as it is just too much effort for little gain. It was only a scripting package to send out reports to ezines. Rather do it manually anyway, as I heard effectively "spamming" these sites was the quickest way to get a bad name!

areidmtm
07-31-2006, 09:21 AM
I installed this the other day on my account, and I just followed the instructions in the help desk precisely and all went very well.

I didn’t even have to add anything lines to the php.ini file. It worked without it. In fact, it gave me an error if I put the line in, so I left it out, and all works fine. However you may need that line if you’re using Joomla or something like that.

Read this....
http://helpdesk.bluehost.com/kb/index.php?x=&mod_id=2&id=171

SVFan
07-31-2006, 08:09 PM
Yup, it really depends on what you are installing that requires IonCube.

csramin
09-25-2006, 03:39 PM
I'm installing a shopping cart that requires me to have ionCube installed, and I am having a heck of a time.

I've installed the 64 bit version into the directory above my public_html folder.

I've made the following changes to the php.ini file. ;zend_extension = /home/<usrname>/ioncube/ioncube_loader_lin_4.4.so (tried with and without quotes)

I've copied and pasted the php.ini file to every folder possible

nothing.

I've contacted BH tech support and so far they are stumped too, but working on it :).

csramin
09-26-2006, 09:19 AM
Thanks you, Flavio Martins Level II Technical Support!!

I have to say this first; Blue Host has by far the most patient, polite and helpful tech support I have ever delt with.

With that said... This is the email I received the next morning.

"I have fixed the Ioncube installation and the php.ini settings. I have replaced the php.ini file in your public_html folder, and also in the shop and shop/install folders. The files are now configured correctly to use the loaders. If you have any more scripts that require ioncube, after uploading the script, check to see if the script came with its own ioncube folder. If it did, delete the script, then copy the php.ini file from your public_html folder into the folder for the script and it will work. Thanks, Flavio Martins Level II Technical Support Bluehost.com "

I think this is what happened; In the process of copying my php.ini file from one folder to the next I lost it. Completely. So I went on the forum and found a copy of one. A little old I guess, because the proper changes were made but the file still didn't work. Also, Flavio installed the ioncube inside my public_html folder. Go figure.