Installing the SourceGuardian PHP Extension on Debian 7 "Wheezy" and Ubuntu 13.04 (64-bit/amd64/x86_64)

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 for Debian 7 "Wheezy" and Ubuntu 13.04 64-bit, further information on the usage can be found here.

If you have a 32-bit system (e.g. i686), just change the wget command, that downloads the loader. You find an overview of all loaders on the SourceGuardian-website.

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

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

Download the sourceguardian package (64-bit here) directly into the new folder:

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

Now extract the file:

tar xzf loaders.linux-x86_64.tar.gz

Copy the file that meets your PHP version like this:


cp ixed.5.4.lin /usr/lib/php5/20100525/

"ts" in the filenames means "Thread Safety". If "Thread Safety" is enabled (usually it isn't), copy the file ixed.5.4ts.lin instead.

Now create the sourceguardian configuration file.

cd /etc/php5/mods-available/
touch sourceguardian
joe sourceguardian.ini

Enter the following lines into the file:

[sourceguardian] 
zend_extension=/usr/lib/php5/20100525/ixed.5.4.lin

and save it.

Activate the PHP extension with the command:

php5enmod sourceguardian

The command has no output for errors or success.

Restart Apache:

/etc/init.d/apache2 restart
# or
apache2ctl restart
# or as Service
service apache2 restart

Now the extension is installed for Apache2 and CLI and ViMP will be decrypted.

Last update on 2018/04/04 by Admin.

Go back