With AL8 modsec is not working, but ill check what you said, but not even the php is working, and i mean the only php working is the one for the panel, php version switch and php-fpm cannot been installed in alma linux 8, is not working, everything is broke.
What are your Webservers choice? (Apache only, nginx only, Apache<->nginx, etc.)
There is a problem with Modsecurity-nginx conector, it's a headache to fix.
The problem is with Modsecurity-nginx connector, must be downgraded.
It is a serious problem, and the bug only appears under specific conditions—specifically, when rendering large pages exceeding 500 KB.
I contacted the developers of the ModSecurity-Nginx connector last year and opened an issue because the bug was cutting off part of the page, and they fixed it. But it looks like there was a regression problem, and the bug has been reintroduced. There’s no other option; if you’re using Nginx, you have to downgrade.
The ModSecurity-nginx connector eats up a portion of the resulting HTML page.
If your CWP have a few sites, not problem. But if your server have dozen of sites, CWP ends up completely broken, unreadable.
I spent three days, to find the problem.
But the problem is specific to Modsecurity-nginx connector, if you use nginx only web server.
Modsecurity for Apache is all ok, normally. Or it should be working normally; the problem many people are experiencing lies with the CWP interface for ModSecurity, not with ModSecurity for Apache itself.
Regards,
Netino