Ioncube/SourceGuardian PHP Loaders

4 posts / 0 new
Last post
#1 Mon, 05/09/2011 - 16:12
rainleader

Ioncube/SourceGuardian PHP Loaders

I'd like to install the ionCube and SourceGuardian PHP loaders which simply require a few files and a line in the php.ini file (to include the files) for each server. I know I can edit the PHP file for each vhost, but is there any way I can make it universally accessible to all vhosts instead of adding it manually?

I remember reading somewhere that Apache/PHP can load a "master" php.ini file that would apply to all vhosts but don't remember where that file was located. Any thoughts?

Mon, 05/09/2011 - 17:06
andreychek

Yup, you can do that by setting up one .conf file for all your stuff.

How to do that depends on your distro, which distro/version are you using?

-Eric

Mon, 05/09/2011 - 17:26
rainleader

Using Ubuntu 10.04 LTS 64-bit, PHP 5.3.

Mon, 05/09/2011 - 17:37
andreychek

Howdy,

Okay, if you create a .ini file in "/etc/php5/conf.d" containing the code to load that module, that should be loaded for all PHP applications running on your server.

-Eric

Topic locked