How to install PhpShield on cPanel server

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to install PhpShield on 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:

    #
    Code:
    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:

    #
    Code:
    wget http://phpshield.com/loaders/phpshield.loaders.linux-64.zip
    In case of 32-bit servers, use the following command:
    #
    Code:
    wget http://phpshield.com/loaders/phpshield.loaders.linux.zip
    3. Unzip the downloaded file:

    #
    Code:
    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:

    #
    Code:
    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:

    Code:
    extension=phpshield.5.2.lin
    You can obtain php.ini file being used in server using the following
    command:

    #
    Code:
    php -i | grep php.ini
    7. Finally restart httpd service.

    #
    Code:
    /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.

    WWW.9XHOST.NET
Working...
X