There was a problem loading the comments.

Install SourceGuardian PHP extension: Ubuntu 18.04 with PHP 7.2

Support Portal  »  Knowledgebase (FAQ)  »  Viewing Article

  Print
Editions: VIMP Light, VIMP Ultimate [Standard], VIMP Corporate Campus or VIMP Corporate Enterprise
Versions: 4.0.0+


To onstall VIMP Light, VIMP Ultimate [Standard], VIMP Corporate Campus or VIMP Corporate Enterprise you need the PHP extension SourceGuardian.

This article describes the installation of the extension on Ubuntu 18.04 (64-bit) mit PHP 7.2, for more information on how to use it, see here

If you are using a 32-bit system (e.g. i686), you only need to adjust the wget command that fetches the loader package. An overview of all loaders can be found on the SourceGuardian website.

First create a temporary directory "loader" under /usr/src/ and change there:

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


Load the package, here Linux 64-bit, directly into the new directory:

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


Now unzip the file there:

tar xzf loaders.linux-x86_64.tar.gz


Copy the file matching your PHP version into the "extension_dir" of your php configuration:

cp ixed.7.2.lin /usr/lib/php/20170718/


Now create the appropriate configuration file.

cd /etc/php/7.2/mods-available/
joe sourceguardian.ini


Write in the file:

[sourceguardian] 
zend_extension=/usr/lib/php/20170718/ixed.7.2.lin


and then save it .

You activate the PHP extension with the command

phpenmod sourceguardian


The command has no output, so neither an error nor a positive message

Now you just need to restart the Apache:

service apache2 stop
service apache2 start


The extension is now active for PHP 7 in Apache, the CLI active and VIMP is decrypted.


Share via

Related Articles

© VIMP GmbH