illustrate
1. Suhosin is a protection system for PHP programs. It was originally designed to protect servers and users from known or unknown flaws in PHP programs and PHP core, and can resist some minor attacks.
2. Suhosin has two independent parts, which can be used separately or jointly.
A patch for the PHP core that protects against buffer overflows or format string vulnerabilities;
As a powerful PHP extension (the extension mode is very good, easy to install...), it includes all other protection measures.
Install extension
wget http://download.suhosin.org/suhosin-0.9.37.1.tar.gz tar zxvf suhosin-0.9.37.1.tar.gz cd suhosin-0.9.37.1/ phpize ./configure --with-php-config=/usr/local/bin/php-config make make install Just add suhosin.so under php.ini extension=suhosin.so
The above is the introduction of Suhosin in PHP. After everyone learns it, please try the practical operation as soon as possible.