I am trying to get Ninja Firewall to work with my host that uses LiteSpeed. He states that perhaps LiteSpeed may be the issue and I want to confirm. Basically, I have a shared account. I can change the PHP version by adding code to my htaccess file. Right now I'm using PHP 5.6, but when I change to PHP 7, I can't log into Ninja Firewall. I asked Ninja Firewall support about this and they pointed me to this blog: https://blog.nintechnet.com/upgrading-to-php-7-with-ninjafirewall-installed/
So I changed the htaccess code to use PHP 7:
AddHandler application/x-httpd-php70 .php
Then I added the code outlined in that blog to use Ninja Firewall with PHP 7:
# BEGIN NinjaFirewall
<IfModule mod_php7.c>
php_value auto_prepend_file /home/systechf/public_html/firewall/firewall.php
</IfModule>
But when I go to log into the firewall I get a 503.
Is there something to do with LiteSpeed and Ifmodule that isn't working right?
So I changed the htaccess code to use PHP 7:
AddHandler application/x-httpd-php70 .php
Then I added the code outlined in that blog to use Ninja Firewall with PHP 7:
# BEGIN NinjaFirewall
<IfModule mod_php7.c>
php_value auto_prepend_file /home/systechf/public_html/firewall/firewall.php
</IfModule>
But when I go to log into the firewall I get a 503.
Is there something to do with LiteSpeed and Ifmodule that isn't working right?