There was a problem loading the comments.

Install SourceGuardian PHP extension: Ubuntu 22.04 with PHP 8.1

Support Portal  »  Knowledgebase (FAQ)  »  Viewing Article

  Print
Editions: VIMP Light, VIMP Ultimate [Standard], VIMP Campus, VIMP Enterprise
Versions: 4.4.0+


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

This article describes how to install the extension on Ubuntu 22.04 (64-bit) with PHP 8.1. More information about using SourceGuardian can be found here.

A wizard for installing the latest SourceGuardian loaders can be found here.

The general procedure is as follows:

First create a temporary directory "loader" under /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 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.8.1.lin /usr/lib/php/20210902/

 
Edit the php.ini of FPM:

nano /etc/php/8.1/fpm/php.ini

 
And add the following directive:

extension=ixed.8.1.lin

 
and then save it.
 
Now we open the php.ini of the CLI:

nano /etc/php/8.1/cli/php.ini

 
And add the same directive here:

extension=ixed.8.1.lin

 
Now we restart PHP-FPM:

systemctl restart php8.1-fpm

 
Then, depending on the use, we restart NGINX:

systemctl restart nginx

 
or Apache2:

systemctl restart apache2

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


Share via

Related Articles

© VIMP GmbH