Installing the SourceGuardian PHP Extension on Debian 9 "Stretch" with PHP 7
Installations of ViMP Light, ViMP Ultimate [Standard], ViMP Corporate Campus or ViMP Corporate Enterprise require the PHP extension SourceGuardian.
This article explains the installation of the extension for Debian 9 "Stretch" 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:
Now extract the file:
tar xzf loaders.linux-x86_64.tar.gz
Copy the file that meets your PHP version like this:
cp ixed.7.0.lin /usr/lib/php/20151012/
"ts" in the filenames means "Thread Safety". If "Thread Safety" is enabled (usually it isn't), copy the file ixed.5.6ts.lin instead.
Now create the sourceguardian configuration file.
cd /etc/php/7.0/mods-available/ touch sourceguardian
Enter the following lines into the file:
and save it.
Activate the PHP extension with the command:
The command has no output for errors or success.
service apache2 stop service apache2 start
Now the extension is installed for Apache2 and CLI and ViMP will be decrypted.
Last update on 2018/04/16 by Admin.