PHPmotion Wiki : PHPShield525

HomePage :: Contents :: PageIndex :: Login/Register

Installing PHPShield Loaders - PHP5.2.x Server


PHPShield is an application that is used to protect the code in a 2 core files within PHPmotion. In order for PHPmotion to run, your server will need to have the PHPShield loaders correctly installed.

In this tutorial, we will show you how to do this on a server that is running PHP5.2.x

Please note, you can only follow these instructions if you have a Dedicated Server or a VPS (with root access)



Step 1 - Login to your server


Using an ssh client like putty, login in to your server as root.

Step 2 - Check your servers PHP version

You do this by typing the command

php -v




Step 2 - Check your system architecture


You do this by typing the command

uname -i


The result will either be i386 or x86_64. You will need this information to download the correct PHPshield loaders



Step 3 - Check your PHP extensions_directory


You do this by typing the command

php -i|grep extension_dir


you will get a path something like /usr/lib/php/extensions/no-debug-non-zts-20060613. Now enter this directory

cd /usr/local/lib/php/extensions/no-debug-non-zts-20060613


note: use your own directoy path in the command above



Step 4 - Download PHPshield Loaders


You must first delete any loaders that may already be in your extensions directory

rm phpshield.*


You must now download the appropriate PHPshield loader, based on your system architecture. below is a list of the files we have available for download

Operating System Server Architecture Download Command
Linux (Centos, Fedora etc) i386 wget http://downloads.phpmotion.com/phpshield-loaders/32bit/phpshield.5.2.lin
Linux (Centos, Fedora etc) x86_64 wget http://downloads.phpmotion.com/phpshield-loaders/64bit/phpshield.5.2.lin


now run the appropriate command from the table above. An example is shown below

wget http://downloads.phpmotion.com/phpshield-loaders/32bit/phpshield.5.2.lin



Step 5 - Restart you web server


Restart your Web Server (e.g. apache) using the command below (or similar)

service httpd restart


If you get an error like service httpd not found, you can try the following


/etc/init.d/apache restart

OR

/etc/init.d/apache2 restart



Thats it, you can now continue with the rest of your PHPmotion installation






Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0376 seconds