UK Web Hosting LiveChat Software

How to install PhpShield on cPanel server

0 votes
asked 5 years ago in Cpanel Issues & Tutorials by whukadmin (5,940 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

For 64-bit servers, use the following command:

# wget

In case of 32-bit servers, use the following command:
# wget

3. Unzip the downloaded file:

# unzip

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:


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

# 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 5 years ago by whukadmin (5,940 points)

Related questions