How to install phpSHIELD?

phpSHIELD Installation :

Introduction: phpSHIELD protects your PHP Source Code with a powerful, easy to use encoder, which creates a native bytecode version of the script and then encrypts it. It’s needed to video script enabled sites.


Login to server as root:

1. Check the architecture of your machine. like :

root@j [~]# arch
root@j [~]#
It’s 64bit

or :

root@juggernaut [~]# which ps

root@j [~]# file /bin/ps |grep bit
/bin/ps: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped
root@j [~]#

2. Make sure following parameters has appropriate value in php.ini file like :

# Thread Safety is disabled
# enable_dl is set to on
# The path to your extension_dir
# Path to your php.ini file

php.ini file path :

root@j [~]# php –ini
Configuration File (php.ini) Path: /usr/local/lib
Loaded Configuration File: /usr/local/lib/php.ini
Scan for additional .ini files in: /usr/local/lib/php.ini.d
Additional .ini files parsed: (none)
root@j [~]#

3. Execute following CMD via ssh:
# cd /root/download

4. Download the phpSHIELD loaders:

# wget //for 32bit
# wget //for 64 bit

5. #unzip
6. #cp phpshield.5.2.lin /usr/lib/php/extensions/no-debug-non-zts-20060613/
7. Add following line in php.ini file and restart webserver :

echo “extension=”phpshield.5.2.lin”” >> /usr/local/lib/php.ini



That’s it. try 🙂

Both comments and pings are currently closed.

Comments are closed.