Installing the SourceGuardian PHP extension

Editions: Light, Community, Professional, Ultimate [Standard], Corporate
Versions: all

Installations of ViMP Light, ViMP Community, ViMP Professional, ViMP Ultimate [Standard] and ViMP Corporate require the PHP extension SourceGuardian.

This article explains the installation of the extension, further information on the usage can be found here.

First create a temporary folder "loader" at /usr/src/:

mkdir /usr/src/loader
cd /usr/src/loader

Download the loader that meets your OS from the SourceGuardian website.
For example download the 64-bit loaders directly into the new directory:

wget http://www.sourceguardian.com/loaders/download/loaders.linux-x86_64.tar.gz

Extract the file:

tar xzf loader.tar.gz

Copy the file that matches your PHP version to the "extension_dir" of your PHP configuration:


cp ixed.5.3.lin /usr/lib/php5/20090626/

"ts" in the filename means "Thread Safety". Choose the ts-file if Thread Safety is enabled.

Now Create the configuration file. The directory can be found per phpinfo as "Scan this dir for additional .ini files":

cd /etc/php5/conf.d/ 
touch sourceguardian.ini
joe sourceguardian.ini

Enter the following lines to the file:

[sourceguardian] 
zend_extension=/usr/lib/php5/20090626/ixed.5.3.lin

and save it afterwards.

Ubuntu and Debian with PHP 5.4 / PHP 5.5

... create the sourceguardian.ini in /etc/php5/mods-available/ and execute then

php5enmod sourceguardian

Finally you have to restart the apache webserver:

/etc/init.d/apache2 restart

Now the extension is installed and ViMP will be decrypted.

Last update on 2018/04/04 by Admin.

Go back