Create loader directory

 cd /usr/src/
 mkdir loader
 cd loader

Download Loader

sudo wget

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

sudo nano /etc/php/7.0/mods-available/sourceguardian.ini

paste this into your ssh

Replace /usr/lib/php/20151012/ with directory 

Enable source guardian

phpenmod sourceguardian

Restart Apache

sudo /etc/init.d/apache2 restart