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

Editions: ViMP Light, ViMP Ultimate [Standard], ViMP Corporate Campus oder ViMP Corporate Enterprise
Versions: 4.3+

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 Ubuntu 20 (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 https://www.sourceguardian.com/loaders/download/loaders.linux-x86_64.tar.gz --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:

extension=ixed.7.4.lin

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:

extension=ixed.7.4.lin

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/04/28 by Admin.

Go back