View Full Version : requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site
alterna584
06-10-2008, 12:26 PM
Hi guys,
I am trying to install Fedafi Wordpress plugin and it needs to use Ioncube. I have installed as instructed and as what was discussed in the bh support site. I downloaded the new php.ini file and changed the zend files as instructed to
zend_extension=/home2/redzland/ioncube/ioncube_loader_lin.sozend_extension_ts=/home2/redzland/ioncube/ioncube_loader_lin_ts.so
and Im still getting an error "requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site"
Has anyone else ran into these problems..... I searched the site but it seems that there really isnt much on Ioncube in here and on other forums I searched they never gave a solution, they just ended. I am not a coding prodigy
Tsadik
06-10-2008, 01:56 PM
Hey all, I am totally at a loss as well. I have tried everything possible, followed all the instructions I have found, searched the forums, copied my php.ini into every subdirectory, and still have gotten nothing accomplished.
Here is my php.ini
zend_extension=/home/dreamst2/ioncube/ioncube_loader_lin_5.2.so
zend_extension_ts=/home/dreamst2/ioncube/ioncube_loader_lin_5.2_ts.so
[Zend]
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
zend_optimizer.version=3.3.3
extension=pdo.so
extension=pdo_sqlite.so
extension=sqlite.so
extension=pdo_mysql.so
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
I cannot figure out why its still not working either.
Any help you can give would be amazing.
alterna584
06-11-2008, 01:05 PM
Thanks tsadik for not making me the only one! I've been searching forums everywhere and the same solutions keep popping up but dont work for me! Let me know if you find anything out and I will do like wise
Tsadik
06-11-2008, 03:46 PM
No problem alterna584. I know exactly what you are saying. Its all the same solutions, nothing thats the next step if you are still having trouble.
I know someone has got to know where we have gone wrong.
I have also tried my php.ini with just one of the "zend_extension" and still nothing.
Like just:
zend_extension_ts=/home/dreamst2/ioncube/ioncube_loader_lin_5.2_ts.so
or
zend_extension_=/home/dreamst2/ioncube/ioncube_loader_lin_5.2.so
This is really baffling me guys.
If I need to give more info, please let me know.
I know there is someone who knows exactly what is wrong.
Thanks
PS Here is the loader test page if this helps at all. (http://dreamstream.info/ioncube/ioncube-loader-helper.php?page=rtl-tester)
HamiltonWDS
06-12-2008, 05:12 PM
I am also having the same problem with IonCube.
I have followed the FAQ and with the searches in the forums here and either get two results:
As per FAQ, when using the PHP Config, the following lines are entered in the php.ini (After renaming):
zend_extension=/home2/sitename/ioncube/ioncube_loader_lin.so
zend_extension=/home2/sitename/ioncube/ioncube_loader_lin_ts.so
And copying to sub-folders results in a no-go of IonCube being discovered. The error of:
... requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator
If the line of:
zend_extension=/home2/sitename/ioncube/ioncube_loader_lin_5.2.so
is entered before or after the top lines, or even by itself (deleting the top two lines), then a 500 error occurs (and yes, before the Optimizer set of codes).
johnwasneverhere
06-13-2008, 09:59 PM
check this out...
http://helpdesk.bluehost.com/kb/index.php?x=&mod_id=2&id=171
HamiltonWDS
06-14-2008, 07:38 PM
Unfortunately the solution in the FAQ does not help.
Appears that some applications do not accept the ioncube_loader_lin.so or ioncube_loader_lin_ts.so statements as there are no version numbers provided.
HamiltonWDS
06-16-2008, 08:41 PM
There appears to have been a change, or maybe I installed the wrong Ioncube files or those previous files were corrupted.
Whatever it was, the following does work and no 500 error codes pop-up:
1. Verify the type of server being used, for example: Linux x86_64
2. If there is an existing Ioncube folder and the site is not working, might as well delete the existing ones and re-upload/extract the new ioncube files.
3. Now depending on the application, the following steps will vary.
4. Have an ioncube folder (with all ioncube files) located out of the public_html folder (example: home/username/ioncube)
5. Modify the php.ini file to have the following lines (below the [ZEND] line and above any other zend commands):
zend_extension=/home2/sitename/ioncube/ioncube_loader_lin_5.2.so
zend_extension=/home2/sitename/ioncube/ioncube_loader_lin_5.2_ts.so
6. Copy all of the php.ini files to all sub-folders (search the FAQ of how to do this, quickly and easily).
7. Run a test, if the test fails, continue with below.
8. Copy the ioncube folder into the root of the site being used.
(Example: home/username/public_html/ioncube)
9. Modify the php.ini file with the following changes to the path:
zend_extension=/home2/sitename/public_html/ioncube/ioncube_loader_lin_5.2.so
zend_extension=/home2/sitename/public_html/ioncube/ioncube_loader_lin_5.2_ts.so
10. Copy the php.ini file to all sub-folders.
11. Conduct a test, the test should succeed.
If the test fails, go ahead and post here.
vscribe
07-07-2008, 02:27 PM
I have installed this per the posting.
I see according to the cpanel that the php.ini for the site is at usr/lib/
Would that be the problem?
I would appreciate any help as I'm stumped
gaetgodi
07-21-2008, 07:51 PM
Worked for me, the second zend_extension= should be zend_extension_ts=
Thanks, I got my add-on running!
I forget where I read it, but it was mentioned that if you have FastCGI running, you only need that php.ini in your public_html directory. if you are not using that, you will need to put the php.ini into each script directory that will try and use Ioncube. It was the copying the php.ini into a different directory that worked for me!
Hope this helps for others that might come across the same problem.
gotry
08-30-2008, 03:45 PM
Hi,
I've the same problem.
I've created a directory called "IONCUBE" with all ioncube loaders in /home2/user/, and then I've put this
[Zend]
zend_extension=/home2/wedeenne/ioncube/ioncube_loader_lin_5.2.so
zend_extension=/home2/wedeenne/ioncube/ioncube_loader_lin_5.2_ts.so
in my php.ini which is located in /home/user/public_html/ then I've click on "save changes" in "PHP config". The encoded files are located in /home2/user/public_html/68/.
The error continues.
What am I doing wrong?
6. Copy all of the php.ini files to all sub-folders (search the FAQ of how to do this, quickly and easily).
I've searched "php.ini" and I don't found any results...:(
Thanx!
nckmed
09-22-2008, 12:49 AM
I tried all of the steps and then this is what my php.ini file has text:
zend_extension=/home2/utvconcepts/locator/ioncube/ioncube_loader_lin_5.2.so
zend_extension_ts=/home2/utvconcepts/locator/ioncube/ioncube_loader_lin_5.2_ts.so
I then posted it in ever sub domain and this is the error that i still get.
Site error: the file /home/content/u/t/v/utvconcepts/html/locator/admin/index.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator.
I need help so badly and I'm running out of time can anyone plz help me. If it helps i host though godaddy.
Early Out
09-22-2008, 07:09 AM
I need help so badly and I'm running out of time can anyone plz help me. If it helps i host though godaddy.
If you're hosting on Godaddy, no one here can help you. This is a forum for people who host their sites on Bluehost.
chrnoaria
09-23-2008, 10:57 PM
I'm having the same problem here. I'm trying to use JoomSuite modules which requires me to have Ioncube. I have do all the instructions above and get successful message from the ioncube-loader-helper.php. But the modules still didn't work and show the site error message. Could anybody help with this?
chrnoaria
09-24-2008, 01:05 AM
Nevermind. Just solved the problem. Only need to copy the php.ini file to the administrators folder.
brackishwaters
11-08-2008, 04:19 PM
I have read all of these responses and the FAQ from BH but to no avail. I think my problem is the path to the default php.ini and i could really use the help.
I installed the default php.ini per the faq's instructions and tried this ini with the additional
zend_extension = /home/sitename/ioncube/ioncube_loader_lin_5.2.so
line added after the ZEND but before the first command.
I tried this with both the ioncube folder inside public_html and above it. I have the correct 64 linux version of ioncube in the folder as well. I then copy this to my root install requiring the ioncube (/joomla) and also the folder that is calling for it (/joomla/administrator/components/)
I also tried using a custom php.ini to point to the ini located in the joomla root folder and you can see this code below:
<?php
// Put all the php.ini parameters you want to change below. One per line.
// Follow the example format $parm[] = "parameter = value";
$parm[] = "register_globals = Off";
$parm[] = "session.use_trans_sid = 0";
zend_extension=/home/sitename/ioncube/ioncube_loader_lin_5.2.so
// full unix path - location of the default php.ini file at your host
// you can determine the location of the default file using phpinfo()
$defaultPath = '/usr/local/lib/php.ini';
// full unix path - location where you want your custom php.ini file
$customPath = "/home/sitename/php.ini";
// nothing should change below this line.
if (file_exists($defaultPath)) {
$contents = file_get_contents($defaultPath);
$contents .= "\n\n; USER MODIFIED PARAMETERS FOLLOW\n\n";
foreach ($parm as $value) $contents .= $value . " \n";
if (file_put_contents($customPath,$contents)) {
if (chmod($customPath,0600)) $message = "The php.ini file has been modified and copied";
else $message = "Processing error - php.ini chmod failed";
} else {
$message = "Processing error - php.ini write failed";
}
} else {
$message = "Processing error - php.ini file not found";
}
echo $message;
?>
I really think my error here is the path to the default php.ini but I have tried everything. I have been successful isntalling this before on a php4 host without ioncube but for some reason BH is giving me trouble. I need this for my Joomsuite add on as well!
brackishwaters
11-09-2008, 09:45 AM
nevermind,
i found the solution to be adding
zend_extension_ts = /<path>/ioncube_loader_lin_5.2_ts.so
instead of the one missing the _ts
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.