How to install and active sourceguardian loaders for php56 to 7.4

hello

Dear friends, please tell me how to install sourceguardian loaders via ssh?

I have searched all the documents on the Sourceguardian website and this forum and I have not found any results!

The only result I found was the following command:

yum install -y ea-php56-php-sourceguardian.x86_64 ea-php70-php-sourceguardian.x86_64 ea-php71-php-sourceguardian.x86_64 ea-php72-php-sourceguardian.x86_64

But apparently, this command does not exist or is not correct!

Using the guide in the topic below, I was able to install the ioncube loader without any problems and there was no need to edit the php.ini file!

forums[dot]interworx[dot]com/t/activate-php-extensions/20644/2

But for Source Guardian, I have tried every method I have seen and received no answer. Please guide me.

Thank you very much in advance for taking the time to help me.

Hi amir

Welcome to IW forums

You need to provide more information

What distro

What IW-CP

What was the failure message

I have not heard of software and IW officially do not support software outside of their own but if your polite and email support at IW, they do try to help

I trust you are testing first on a test server and not a live server as it may break things

Many thanks

John

Hi @amir9569 @d2d4j
sorry for late response, I found these notes in my document folders.

How to install:

mkdir -p /usr/local/sourceguardian
cd /usr/local/sourceguardian
wget https://www.sourceguardian.com/loaders/download/loaders.linux-x86_64.tar.gz
tar xzf loaders.linux-x86_64.tar.gz
echo "zend_extension = /usr/local/sourceguardian/ixed.5.6.lin" >> /etc/php.ini

Check if SourceGuardian is enabled in php with:

php -m

Locations of possible php versions you might use.

/etc/php.ini  				[this is the current system PHP version]
/opt/remi/php54/root/etc/php.ini
/opt/remi/php55/root/etc/php.ini
/opt/remi/php56/root/etc/php.ini
/etc/opt/remi/php70/php.ini
/etc/opt/remi/php71/php.ini
/etc/opt/remi/php72/php.ini
/etc/opt/remi/php73/php.ini
/etc/opt/remi/php74/php.ini

Hope this helps even if it is late…

see also: https://www.sourceguardian.com/loaders.html
Nico

1 Like