How to install Sourceguardian on DirectAdmin?

Why install SourceGuardian on directAdmin?

Installing SourceGuardian on the DirectAdmin control panel or any other control panel is often done to protect PHP codes. SourceGuardian is a PHP encryption that is provided to protect the code and license of programs developed with PHP.

 

How to install Sourceguardian on DirectAdmin Ubuntu/CentOS/RHEL OS

To install SourceGuardian on all operating systems and control panels, just use the following command: Run the command on the SSH server.

				
					mkdir -p /usr/local/sourceguardian
cd /usr/local/sourceguardian
wget http://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.7.3.lin" >> /usr/local/php73/lib/php.conf.d/90-custom.ini
				
			

Don’t forget to match the ixed.X.X.lin file with your version of php (in the example: ixed.7.3.lin for php 7.3)
a simple php -m, will confirm that it is installed (and also php -v)

case studies

See More Case Studies