How to install phpshield on 32 or 64 bit linux machine?



Guys,

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.


Here are the steps those I have followed :

===========
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:
# mkdir ~/phpshield
# cd ~/phpshield

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

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 :)
By : webhostingtalk.com



Related Posts:



Responses

0 Respones to "How to install phpshield on 32 or 64 bit linux machine?"

Post a Comment

»Thank you for reading this article
If you have questions or comments, please leave a comment
»You can click on the Subscribe by email to subscribe comments of this post
»You can register directly link pictures, mp3, video on the comment form.
»You may use some HTML tags such
»Please post comments polite and typing accented Vietnamese if possible
»Thank the good faith comment

 

Categories

Recent Comments

Total Pageviews

Return to top of page ©Web Server Tips Tricks 2010 | Develop by Mr.PhanQuan .Powered by Blogger . All rights reserved.