Link to home
Create AccountLog in
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!

Avatar of Goldendragonuk
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.
Avatar of 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
Avatar of Goldendragonuk
Goldendragonuk

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
The files were conflicting, as thought.  Combing them didn't work, but completely separating them did.  Thanks!