Installing the SourceGuardian PHP Extension CentOS 8

Editions: Light, Ultimate [Standard], Corporate
Versions: VIMP <=4.1.x

Installations of VIMP Light,  VIMP Professional, VIMP Ultimate [Standard] and VIMP Corporate require the PHP extension SourceGuardian.

This article explains the installation of the extension for CentOS 8 - 64-bit, further information on the usage can be found here.

If you have a 32-bit system (e.g. i686), just change the wget command, that downloads the loader. Find an overview of all loaders on the SourceGuardian-website.

First create a temporary folder "loader" at /usr/src/:

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

Download the sourceguardian package (64-bit here) directly into the new folder:

dnf install curl
curl https://www.sourceguardian.com/loaders/download/loaders.linux-x86_64.tar.gz --output loaders.linux-x86_64.tar.gz

Now extract the file:

tar xzf loaders.linux-x86_64.tar.gz

Copy the file that meets your PHP version:

cp ixed.7.2.lin /usr/lib64/php/modules/

"ts" in the filenames means "Thread Safety". If "Thread Safety" is enabled (usually not), copy the file ixed.5.3ts.lin instead.

Now create the sourceguardian configuration file:

cd /etc/php.d/
touch sourceguardian.ini
vi sourceguardian.ini

Add the following to the file:

[sourceguardian] 
zend_extension=/usr/lib64/php/modules/ixed.7.2.lin

and save it.

Restart php-fpm:

# service php-fpm restart

Now the extension is installed for apache2 and CLI and VIMP will be decrypted.

Last update on 2021/04/28 by SUPPORT.

Go back