PHP Defender - Snuffleupagus
This is a PHP security module that has a custom configuration for each PHP version
Supported PHP versions are PHP 7 and PHP 8.
Configuration locations MAIN PHP-CGI
/usr/local/php/php.d/snuffleupagus.ini
Configuration locations PHP-FPM
/opt/alt/php-fpm70/usr/php/php.d/snuffleupagus.ini
/opt/alt/php-fpm71/usr/php/php.d/snuffleupagus.ini
/opt/alt/php-fpm72/usr/php/php.d/snuffleupagus.ini
/opt/alt/php-fpm73/usr/php/php.d/snuffleupagus.ini
/opt/alt/php-fpm74/usr/php/php.d/snuffleupagus.ini
/opt/alt/php-fpm80/usr/php/php.d/snuffleupagus.ini
/opt/alt/php-fpm81/usr/php/php.d/snuffleupagus.ini
Configuration locations PHP-CGI
/opt/alt/php70/usr/php/php.d/snuffleupagus.ini
/opt/alt/php72/usr/php/php.d/snuffleupagus.ini
/opt/alt/php74/usr/php/php.d/snuffleupagus.ini
/opt/alt/php71/usr/php/php.d/snuffleupagus.ini
/opt/alt/php73/usr/php/php.d/snuffleupagus.ini
/opt/alt/php80/usr/php/php.d/snuffleupagus.ini
/opt/alt/php81/usr/php/php.d/snuffleupagus.ini
Configuration files are located in the folder
/usr/local/cwp/.conf/phpdefender
Predefined rules are in the folder
/usr/local/cwp/.conf/phpdefender/rules/
More info about it
https://snuffleupagus.readthedocs.io/
Module file location (depends on the PHP version)
PHP-FPM: /opt/alt/php-fpm72/usr/lib/php/extensions/no-debug-non-zts-20151012/snuffleupagus.so
PHP-CGI: /opt/alt/php72/usr/lib/php/extensions/no-debug-non-zts-20151012/snuffleupagus.so