Installing source Guardion

Create loader directory

 cd /usr/src/
 mkdir loader
 cd loader
Download Loader
sudo wget http://www.sourceguardian.com/loaders/download/loaders.linux-x86_64.tar.gz
Extract Loaders
tar vxf loaders.linux-x86_64.tar.gz
Get PHP extention directory
sudo apt-get install php-dev 
php-config --extension-dir
Coppy correct loader to php extension directory
sudo cp ixed.7.0.lin /usr/lib/php/20151012
Replace /usr/lib/php/20151012 with the directory displayed
Create php mod
php-config --extension-dir
sudo nano /etc/php/7.0/mods-available/sourceguardian.ini
paste this into your ssh
[sourceguardian]
 zend_extension=/usr/lib/php/20151012/ixed.7.0.lin
Replace /usr/lib/php/20151012/ with directory 
Enable source guardian
phpenmod sourceguardian
Restart Apache
sudo /etc/init.d/apache2 restart