cp -rp /usr/local/cwp/.conf/phpdefender/snuffleupagus-master /usr/local/cwp/.conf/phpdefender/snuffleupagus-master_BACKUP
cd /usr/local/cwp/.conf/phpdefender/snuffleupagus-master/src
/opt/alt/php-fpm74/usr/bin/phpize
chmod +x configure
./configure --with-php-config=/opt/alt/php-fpm74/usr/bin/php-config
make && make install
vi /opt/alt/php-fpm74/usr/php/php.d/snuffleupagus.ini
add the code mentioned above, restart php-fpm and check the security center to see if it appears there. Or at least in the module list.
After working with @Com-QuadTech and having access to his machine. I can confirm that the PHP defender module is broken. No logs inside /var/log/messages /var/log/cwp/* or /usr/local/cwpsrv/logs/* could say anything. The error message that happens on the module itself is just "Error. Unknown error".
I used my commands mentioned earlier in this thread, without the "--enable-snuffleupagus", and did manually create ini files and rule files and tested a variable that PHP defender would block. It's now working, but again; had to be manually installed. PHP Defender installer is broken.
Can a developer look into this please?