mkdir ~/phpshield
cd ~/phpshield
wget http://phpshield.com/loaders/phpshield.loaders.linux.zip –> 32-bit OS
wget http://phpshield.com/loaders/phpshield.loaders.linux-64.zip –> 64 -bit OS
unzip phpshield.loaders.linux.zip
ls
Find the phpshield file with the number that matches your PHP version.
cp ~/phpshield/phpshield.x.x.lin /path/to/your/php/extensions/directory
vi /path/to/php/ini/php.ini
Append the following to the Dynamic Extensions section of your php.ini file:
extension=phpshield/phpshield.x.x.lin
Finally, restart httpd.
NOTE :
Make sure that enable_dl is set to “on”
grep extension_dir path to loaded php.ini file
If no extension directory is present please create one and edit the php.ini file to point to that newly created directory.
mkdir -p /usr/local/lib/php/extensions/no-debug-non-zts-20060613/
Extersion directory permission
drwxr-xr-x 3 root root 4096 Jul 13 11:40 extensions
« Prev:How to disable mod_security for a particular domain Start / Stop VPS:Next »