Monday, October 15, 2012

Quick install of SourceGuardian on Debian Sqeeze

This is a very *quick* howto, to install SourceGuardian on your Debian server.

First go to SourceGuardians download page
Untar the tarball

cp ixed.5.3* to /usr/lib/php5/20090626/

Create  /etc/php5/conf.d/sourceguardian.ini and add

[sourceguardian]
zend_extension=/usr/lib/php5/20090626/ixed.5.3.lin

And that should be it. You can double check by running

root@chs-bld03-v:/tmp/SG# php -v
PHP 5.3.3-7+squeeze14 with Suhosin-Patch (cli) (built: Aug  6 2012 14:18:06)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
    with SourceGuardian v8.2, Copyright (c) 2000-2010, by Inovica Ltd.
    with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH

(you may need to restart apache2)

HTH
Brent

No comments:

Post a Comment