How to install PhpShield on cPanel server

Started on the old forum in September 2012 · view the original in the archive · old links redirect here

#9xhost #phpshiled

No replies · 1,200 views · started 14 years ago · 1 min read

Sanju Kr Developer · 104 posts #1

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
  1. 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
  1. Unzip the downloaded file:

unzip phpshield.loaders.linux-64.zip
  1. Find the phpshield loader corresponding to php version in the server. In this case phpshield loader will be phpshield.5.2.lin.

  2. 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

  1. 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
  1. 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.

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close