Installing the SourceGuardian PHP Extension on Debian 11 with PHP 7.4 and NGINX

Editions: VIMP Light, VIMP Ultimate [Standard], VIMP Corporate Campus oder VIMP Corporate Enterprise
Versions: 4.4+

For the installation of 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 Debian 11 (64 bit) with PHP 7.4 under NGINX, more information about using SourceGuardian can be found here.

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

The general procedure under NGINX is as follows:

First create a temporary directory "loader" at /usr/src/ and change to it:

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

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

curl --output loaders.linux-x86_64.tar.gz

Now extract 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.4.lin /usr/lib/php/20190902/

Edit the php.ini of FPM:

nano /etc/php/7.4/fpm/php.ini

And add the following directive:


and then save it.

Now we open the php.ini of the CLI:

nano /etc/php/7.4/cli/php.ini

And add the same directive here as well:


Now we restart PHP-FPM and NGINX:

service php7.4-fpm restart
service nginx restart

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


Last update on 2021/09/21 by Admin.

Go back