Blog

Latest Technical Notes

Adding phpShield to Linux Hosting

SSH into the server

Run:
​​/usr/local/bin/php-config --extension-dir

The result shows the PHP extension directory
/usr/local/lib/php/extensions/no-debug-non-zts-20100525

​Upload the latest version of ixed.5.4.lin to this directory using WinSCP or similar file transfer tool

Find the location of php.ini​
php -i | grep php.ini

The result showns the php.ini location
​Configuration File (php.ini) Path => /usr/local/lib

Edit the php.ini file
nano /usr/local/lib/php.ini

​add the line:
extension="ixed.5.4.lin"

Restart the httpd daemon, or apache as required
service httpd restart
or
/etc/init.d/apache restart

Check that it’s working by running:
php -i | grep SourceGuardian

DamianAdding phpShield to Linux Hosting
Share this post

Join the conversation