0 votes
asked by (6.1k points)

1 Answer

0 votes

Following are the steps to install PhpShield on Linux cPanel server.

Solution for this issue we need to turn off the SourceGuardian loader ixed
in php.ini file first and then simply install phpSHIELD using following
steps -

1. Steps to install phpSHIELD Loader:

# cd /usr/src

2. Download the appropriate phpSHIELD Loader from
'http://www.phpshield.com/loaders/index.php':

For 64-bit servers, use the following command:

# wget http://phpshield.com/loaders/phpshield.loaders.linux-64.zip

In case of 32-bit servers, use the following command:
# wget http://phpshield.com/loaders/phpshield.loaders.linux.zip

3. Unzip the downloaded file:

# unzip phpshield.loaders.linux-64.zip

4. Find the phpshield loader corresponding to php version in the server. In
this case  phpshield loader will be phpshield.5.2.lin.

5. Copy the loader file to php extension_dir location. Php extension_dir can
be obtained from command:

# php -i | grep extension_dir

cp /usr/src/phpshield.5.2.lin /path/to/your/php/EXTENSION/directory

6. Add the following in php.ini file:

extension=phpshield.5.2.lin

You can obtain php.ini file being used in server using the following
command:

# php -i | grep php.ini

7. Finally restart httpd service.

# /etc/init.d/httpd restart

That's it , phpSHIELD Loaders is successfully installed on your server, You
can verify it by creating php info file under your public_html folder,if it
is successfully installed you will see following phpSHILED information  in
php info file.
answered by (6.1k points)
...