Installing Suhosin Patches on PHP 5.6 in CentOS 7

Suhosin is an advanced protection system for PHP installations. It was designed to protect servers and users from known and unknown flaws in PHP applications and the PHP core. Suhosin comes in two independent parts, that can be used separately or in combination. The first part is a small patch against the PHP core, that implements a few low-level protections against buffer overflows or format string vulnerabilities and the second part is a powerful PHP extension that implements all the other protections.

In this post I would like to install Suhosin for PHP 5.6 in a CentOS 7 server.

First upgrade PHP to  the latest PHP 5.6 version.

yum --enablerepo=remi,remi-php56 install php-devel
dnf install "Development Tools"

Baca Selengkapnya