PHPmotion Wiki : PHPShield53

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

Installing PHPShield Loaders - PHP5.3.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.3.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
Linux (Centos, Fedora etc) x86_64 wget

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


Step 5 - Edit your php.ini file

First you need to find out the location of your main php.ini file. This file is the main configuration file for PHP on your server.

You do this by typing the command below

php -i|grep php.ini

You should get a result that shows something like this

Loaded Configuration File => /etc/php.ini

In the case of our example above, the path we want it /etc/php.ini

Now run the command below. Remember to use your own php.ini directoy path in the command above

echo "extension=ixed.5.3.lin" >> /etc/php.ini

Step 6 - 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


/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.0234 seconds