Web Hosting Talk







View Full Version : Ioncube issues with command line php (in cron)


methos
10-27-2008, 09:06 AM
Ioncube issues with command line php (in cron)

I'm guessing this is either a permissions issue or a wrong php.ini is being picked up somewhere, but I have an issue as follows:
I have supplied an ioncube encoded script to a customer which works fine when running through the webserver, however it requires one script to run as a cron, and when the customer attempts to run the cron, he is getting the error:Failed loading /usr/local/IonCube/ioncube_loader_lin_5.2.so: /usr/local/IonCube/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directoryas I said above, I am suspecting this is probably permission related, since the apache user is managing to load the loaders fine ..... anyone know how to solve this one?Thanks,

MichaelMcC
10-27-2008, 09:27 AM
Registered globals would be my guess. As root, WHM/Tweak Settings
Worth a try.

methos
10-27-2008, 09:57 AM
Quote:



Originally Posted by MichaelMcC


Registered globals would be my guess. As root, WHM/Tweak Settings
Worth a try.


yep, was worth a try, but unfortunately it seems that's not the issue - it runs fine on my own servers with or without that setting.