There was a problem loading the comments.

Installing the SourceGuardian PHP Extension CentOS 8

Support Portal  »  Knowledgebase (FAQ)  »  Viewing Article

  Print
Editions: Light, Community, Professional, Ultimate [Standard], Corporate
Versions: VIMP <=3.6.x


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

This article explains the installation of the extension for Redhat 7 and CentOS 7 - 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.


Share via

Related Articles

© VIMP GmbH