Avatar of josephgregorydesign
josephgregorydesign
 asked on

ioncube loader error on php website hosted on GoDaddy

I have a shopping cart website site up at http://www.santamariahorsesupply.com.  I just installed a classified ad system at http://classifieds.santamariahorsesupply.com.  The classified ad system works perfectly, but now I can't get the shopping cart system to load.  I get the following error message:

Warning: dl() [function.dl]: Unable to load dynamic library '/usr/local/php5/lib/php/extensions/no-debug-non-zts-20060613/ioncube_loader_lin_5.2.so' - /usr/local/php5/lib/php/extensions/no-debug-non-zts-20060613/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory in /home/content/s/m/h/smhorsesupply/html/includes/prepend.php on line 2

I contacted GoDaddy and they had me enable ioncube and update the php5.ini file, which I have done.  But I am still getting the error message.

My php5.ini file contains the following:

[Zend]
zend_extension=/home/content/s/m/h/smhorsesupply/html/ioncube/ioncube_loader_lin_5.2.so


I also have a php.ini file which contains the following:

register_globals = off
allow_url_fopen = off

expose_php = Off
max_input_time = 60
variables_order = "EGPCS"
extension_dir = ./
upload_tmp_dir = /tmp
precision = 12
SMTP = relay-hosting.secureserver.net
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="

[Zend]
zend_extension=/usr/local/zo/ZendExtensionManager.so
zend_extension=/usr/local/zo/4_3/ZendOptimizer.so


I'm not sure if they're trying to share the same file, or what is happening.  Thank you!

NetworkingE-CommercePHP

Avatar of undefined
Last Comment
josephgregorydesign

8/22/2022 - Mon
Goldendragonuk

I think there maybe a conflict because u have two ini files. Is the originally ini file (php.ini) in a folder called php5 ?

if so try adding the contents of the php5.ini to the original ini (php.ini) and reupload to the php5 directory and delete php5.ini so only php.ini is there.
josephgregorydesign

ASKER
Thanks for the suggestion.  I was able to get it work by playing around with it some more.  I had to separate the php.ini files, as well as the ioncube files so that they were in different directories and not sharing the same ones.

ASKER CERTIFIED SOLUTION
Goldendragonuk

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
josephgregorydesign

ASKER
The files were conflicting, as thought.  Combing them didn't work, but completely separating them did.  Thanks!
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23