There was a problem loading the comments.

Install SourceGuardian PHP extension: Debian 12 (Bookworm) with PHP 8.2

Support Portal  »  Knowledgebase (FAQ)  »  Viewing Article

  Print
Editions: VIMP Light, VIMP Ultimate [Standard], VIMP Campus or VIMP Enterprise
Versions: 5.5.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 12 (Bookworm) (64-bit) with PHP 8.2. 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:

 

apt install curl
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.8.2.lin /usr/lib/php/20220829/


Edit the php.ini of FPM:

nano /etc/php/8.2/fpm/php.ini


And add the following directive:

extension=ixed.8.2.lin


and then save it.

Now we open the php.ini of the CLI:

nano /etc/php/8.2/cli/php.ini


And add the same directive here as well:

extension=ixed.8.2.lin


Now we restart PHP-FPM:

service php8.2-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