There was a problem loading the comments.

Installing the SourceGuardian PHP Extension on Ubuntu 20 with PHP 7.4 and Apache2

Support Portal  »  Knowledgebase (FAQ)  »  Viewing Article

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


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 Ubuntu 20 (64-bit) with PHP 7.4 under Apache2, further information on the usage can be found here.

A wizard for installing the latest SourceGuardian loaders is locatedĀ here.

The general procedure under Apache2 is as follows:

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:

curl https://www.sourceguardian.com/loaders/download/loaders.linux-x86_64.tar.gz --output 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.7.4.lin /usr/lib/php/20190902/


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

Now create the sourceguardian configuration file.

cd /etc/php/7.4/mods-available/
nano sourceguardian.ini


Enter the following lines into the file:

[sourceguardian]
zend_extension=/usr/lib/php/20190902/ixed.7.4.lin


and save it.

Activate the PHP extension with the command:

phpenmod sourceguardian


The command has no output for errors or success.

Restart Apache:

service apache2 stop
service apache2 start


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


Share via

Related Articles

© VIMP GmbH