Php Shield module is used in servers using video scripts which makes the script to get encrypted and easy to use.
Steps.
1.-bash-3.2# arch
i686
It is used for checking the architecture.
2.-bash-3.2# which ps
/bin/ps
-bash-3.2#
3.-bash-3.2# file /bin/ps |grep bit
/bin/ps: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped
4. 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 :
5. -bash-3.2# php --ini
Configuration File (php.ini) Path: /usr/local/lib
Loaded Configuration File: /usr/local/lib/php.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed: (none)
6. Execute following CMD via ssh:
# mkdir ~/phpshield
# cd ~/phpshield
7.Download the phpSHIELD loaders:
# wget http://phpshield.com/loaders/phpshield.loaders.linux.zip //for 32bit machine
# wget http://phpshield.com/loaders/phpshield.loaders.linux-64.zip //for 64 bit
8. #unzip phpshield.loaders.linux.zip
9. #cp phpshield.5.2.lin /usr/lib/php/extensions/no-debug-non-zts-20060613/
10. 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"
11. You can now check it with
# -bash-3.2# php -m | grep -i shie
phpSHIELD
Steps.
1.-bash-3.2# arch
i686
It is used for checking the architecture.
2.-bash-3.2# which ps
/bin/ps
-bash-3.2#
3.-bash-3.2# file /bin/ps |grep bit
/bin/ps: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped
4. 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 :
5. -bash-3.2# php --ini
Configuration File (php.ini) Path: /usr/local/lib
Loaded Configuration File: /usr/local/lib/php.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed: (none)
6. Execute following CMD via ssh:
# mkdir ~/phpshield
# cd ~/phpshield
7.Download the phpSHIELD loaders:
# wget http://phpshield.com/loaders/phpshield.loaders.linux.zip //for 32bit machine
# wget http://phpshield.com/loaders/phpshield.loaders.linux-64.zip //for 64 bit
8. #unzip phpshield.loaders.linux.zip
9. #cp phpshield.5.2.lin /usr/lib/php/extensions/no-debug-non-zts-20060613/
10. 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"
11. You can now check it with
# -bash-3.2# php -m | grep -i shie
phpSHIELD
No comments:
Post a Comment