There was a problem loading the comments.

Install SourceGuardian PHP extension: Debian 11 (Bullseye) with PHP 7.4

Support Portal  »  Knowledgebase (FAQ)  »  Viewing Article

  Print
Editions: VIMP Light, VIMP Ultimate [Standard], VIMP Campus oder 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 Debian 11 (Bullseye) (64-bit) with PHP 7.4. 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 in 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:

service php7.4-fpm restart


Then, depending on the use, we will restart NGINX:

service nginx restart


or Apache2

service apache2 restart



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

 

 

 


Share via

Related Articles

© VIMP GmbH