PHPmotion Wiki : PHPShieldServerInstallation

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

_Installing PHPshield Loaders - (PHP.5.2.+ Servers only)_



Please note this instruction if for servers running PHP5.2.+. If you PHP version is lower than this, then you do not need to do this.


For more information on PHPshield, visit http://www.phpshield.com/


If your server is PHP5.2.+ you will need to install the PHPshield loaders directly on the server. You will need to do this because PHP.5.2+ will not load them dynamically from your virtual hosting folder.

You will only be able to follow these instruction if you have a **dedicated server/vps** or if your web host is willing to install
these loaders for you.




Step 1) - Determine your PHP extensions dir.


From your SSH command prompt, type this command: php -i | grep extension_dir

You will get output similar to what is shown below

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



Step 2) - Determine your server architecture (i.e. 32bit or 64bit)


From your SSH command prompt, type this command: uname -i

You will get output similar to what is shown below


32 bit
-----------
i386 / 1686


64 bit
-----------
x86_64



Step 3) Download the appropriate loader (32bit or 64bit) into your extensions directory


The following example is using our own extension_dir path. You will need to use the one you got in step 1

32bit Servers

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

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

chmod 755 phpshield.5.2.lin




64bit Servers

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

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

chmod 755 phpshield.5.2.lin



Step 4) Restart Apache


Depending on how your server is setup, this can be done as easily as

service httpd restart












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