How do i install SourceGuardian?

Happy New Year @Acer123013

Using SSH Terminal run:

$ cd ~
$ apt install wget || yum install wget -y
$ wget https://www.sourceguardian.com/loaders/download/loaders.linux-x86_64.zip
$ apt-get install unzip || yum install unzip
$ unzip loaders.linux-x86_64.zip
$ cd loaders.linux-x86_64

## change ixed.7.2.lin to any other php version e.g. php7.4 would be ixed.7.4.lin
## change path by visiting /usr/local/lsws/ and looking up paths for version you prefer
# for centos/almalinux the paths are different for shared extensions /usr/local/lsws/lsphp72/lib64/php/modules/

$ cp ixed.7.2.lin /usr/local/lsws/lsphp72/lib/php/20170718/

# create  sourceguardian.ini and enable it
# path here is different for RHEL based and Debian based distros
# the path below is for ubuntu
$ echo “zend_extension=/usr/local/lsws/lsphp72/lib/php/20170718/ixed.7.2.lin” > /usr/local/lsws/lsphp72/etc/php/7.2/mods-available/sourceguardian.ini

$ systemctl restart lsws && systemctl restart lscpd