# How to install and active sourceguardian loaders for php56 to 7.4

**URL:** <https://forums.interworx.com/t/how-to-install-and-active-sourceguardian-loaders-for-php56-to-7-4/22083>\
**Category:** NodeWorx\
**Tags:** php, interworx\
**Created:** [June 25, 2021, 7:52pm UTC](https://forums.interworx.com/t/how-to-install-and-active-sourceguardian-loaders-for-php56-to-7-4/22083 "2021-06-25T19:52:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amir9569](https://forums.interworx.com/user_avatar/forums.interworx.com/amir9569/32/1938_2.png) [@amir9569](https://forums.interworx.com/u/amir9569)\
**Post date:** [June 25, 2021, 7:52pm UTC](https://forums.interworx.com/t/how-to-install-and-active-sourceguardian-loaders-for-php56-to-7-4/22083/1 "2021-06-25T19:52:47Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![d2d4j](https://forums.interworx.com/user_avatar/forums.interworx.com/d2d4j/32/16_2.png) [@d2d4j](https://forums.interworx.com/u/d2d4j)\
**Post date:** [June 25, 2021, 8:07pm UTC](https://forums.interworx.com/t/how-to-install-and-active-sourceguardian-loaders-for-php56-to-7-4/22083/2 "2021-06-25T20:07:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Nico](https://forums.interworx.com/letter_avatar_proxy/v4/letter/n/b5a626/32.png) [@Nico](https://forums.interworx.com/u/Nico)\
**Post date:** [August 19, 2021, 5:28pm UTC](https://forums.interworx.com/t/how-to-install-and-active-sourceguardian-loaders-for-php56-to-7-4/22083/3 "2021-08-19T17:28:19Z")

</div>

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

How to install:

```auto
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.

```auto
/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
