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.
——
STEPS:
Login to server as root:
1. Check the architecture of your machine. like :
root@j [~]# arch
x86_64
root@j [~]#
It’s 64bit
or :
root@juggernaut [~]# which ps
/bin/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 http://phpshield.com/loaders/phpshield.loaders.linux.zip //for 32bit
# wget http://phpshield.com/loaders/phpshield.loaders.linux-64.zip //for 64 bit
5. #unzip phpshield.loaders.linux.zip
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 :
extension=”phpshield.5.2.lin”
echo “extension=”phpshield.5.2.lin”” >> /usr/local/lib/php.ini
or
extension=”phpshield.5.2ts.lin”
——-
That’s it. try 🙂