junglecat

Well-Known Member
Jul 6, 2004
168
0
166
A number of my clients use a script that uses ioncube loaders. Today, every site on the server that uses these broke simultaneouly. This is the error:

The file /home/[path_to_scripts] has been encoded with the ionCube PHP Encoder and requires the free ioncube_loader_lin_4.4.so ionCube PHP Loader to be installed.

I didn't change anything, It just happened out of the blue. I tried uploading a fresh copy of ioncube loaders into their ioncube directory and it didn't fix it. What could be wrong? How can I troubleshoot and fix it? I have an inbox full of complaints. :(
 

Spiral

BANNED
Jun 24, 2005
2,018
8
193
Recommendation:

I would remove the ioncube loaders from everywhere they are being loaded and
set the "enable_dl" option in your PHP.INI file to "Off" to disable dynamic loadable
libraries. This will increase the security of your server.

After doing that, I would get a single copy of the newest version of the ioncube
loaders and install them in a single location called from your PHP.INI file.

Setup this way, everyone who has a program requiring Ioncube will no longer
need to load any dynamic ioncube loaders anymore and all the programs
will work perfectly without needing to do anything whatsoever anymore while
you also enjoy the benefit of a bit of increased security.

What I describe above takes me about 10 seconds to setup and I'd be glad
to give anyone a hand who needs help with any of that.
 

junglecat

Well-Known Member
Jul 6, 2004
168
0
166
That sounds great! I would like to do that. Can you give step by step idiot instructions?