Recent Changes - Search:

Softwares

.

What-is-Suhosin

Main.What-is-Suhosin History

Hide minor edits - Show changes to output

Changed lines 1-2 from:
%blue%Suhosin
to:
%blue%Suhosin

* Reference http://www.hardened-php.net/suhosin/how_to_install_or_upgrade.html
Added lines 1-55:
%blue%Suhosin

1. Advanced Protection System for PHP install.
2. Protects the server and the users from known php flaws in application and also php core.
3. The Suhosin patches and the extension are available for download at http://www.hardened-php.net/suhosin/.

Step 1: Installing the Hardened-PHP Project Signaturekey

You should first grab a copy of the Hardened-PHP Project's Release Signature

wget http://www.hardened-php.net/hardened-php-signature-key.asc
gpg --import < hardened-php-signature-key.asc

md5sum suhosin-patch-5.1.4-0.9.0.patch.gz

gpg suhosin-patch-5.1.4-0.9.0.patch.gz.sig

gunzip suhosin-patch-5.1.4-0.9.0.patch.gz

Patch php source now ... patch -p 1 -i ../suhosin-patch-5.1.4-0.9.0.patch

OR

Step 2. Installing the Extension

#> cd suhosin
#> phpize
#> ./configure
#> make
#> make install

This should install suhosin in the correct extension directory. The final step is adding a load directive to php.ini

extension=suhosin.so

* In FreeBSD it's very easy

#> cd /usr/ports/lang/php5
#> make
... now select the menu item that says: Enable Suhosin Protection
#> make install

To install the extension just do

#> cd /usr/ports/security/php-suhosin
#> make
#> make install

After these simple steps Suhosin-Patch is successfully installed on your system.





Edit - History - Print - Recent Changes - Search
Page last modified on August 11, 2007, at 01:40 AM