• Resolved M-POWER

    (@phyton)


    Hi,

    I have a vps with openlitespeed. When I tried to activate the Full Waf mode, it says: “Oops! Full WAF mode is not enabled yet.
    Make sure you followed the instructions and restarted Openlitespeed.”

    Restarting openlitespeed or vps does not solve my problem.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author nintechnet

    (@nintechnet)

    Can you run the troubleshooter script and paste the results here:
    https://nintechnet.com/share/wp-check.txt

    1. Rename this file to “wp-check.php”.
    2. Upload it into your WordPress root folder.
    3. Go to https://YOUR WEBSITE/wp-check.php
    4. Delete it afterwards.

    Thread Starter M-POWER

    (@phyton)

    Here is:

    NinjaFirewall (WP edition) troubleshooter
    HTTP server 	: 	LiteSpeed
    PHP version 	: 	8.0.7
    PHP SAPI 	: 	LITESPEED
     	 	 
    auto_prepend_file 	: 	none
    wp-config.php 	: 	found in /home/websitename.com/public_html/wp-config.php
    NinjaFirewall detection 	: 	NinjaFirewall WP Edition is loaded (WordPress WAF mode)
     	 	 
    Loaded INI file 	: 	/usr/local/lsws/lsphp80/etc/php.ini
    user_ini.filename 	: 	.user.ini
    user_ini.cache_ttl 	: 	300 seconds
    User PHP INI 	: 	none found
     	 	 
    DOCUMENT_ROOT 	: 	/home/websitename.com/public_html
    ABSPATH 	: 	/home/websitename.com/public_html/
    WordPress version 	: 	5.8
    WP_CONTENT_DIR 	: 	/home/websitename.com/public_html/wp-content
    Plugins directory 	: 	/home/websitename.com/public_html/wp-content/plugins
    User Role 	: 	Administrator
    User Capabilities 	: 	manage_options: OK - unfiltered_html: OK
    Log dir permissions 	: 	/home/websitename.com/public_html/wp-content/nfwlog dir is writable
    Cache dir permissions 	: 	/home/websitename.com/public_html/wp-content/nfwlog/cache dir is writable
    Plugin Author nintechnet

    (@nintechnet)

    I don’t see any error.
    Can you confirm that you added the directive into the “Vhost Configuration > General> php.ini Override” section?

    As an alternative, you can try this: https://openlitespeed.org/kb/change-php-settings-by-vhost-and-user/
    Scroll down to “Override Global php.ini With Local php.ini through Virtual Host external app”.

    Thread Starter M-POWER

    (@phyton)

    Can you confirm that you added the directive into the “Vhost Configuration > General> php.ini Override” section? =>

    php_admin_value open_basedir “/tmp:$VH_ROOT”
    php_admin_value open_basedir “/tmp:$VH_ROOT”

    —————————————–

    Sorry, I did not get what was the point of that => https://openlitespeed.org/kb/change-php-settings-by-vhost-and-user/

    Plugin Author nintechnet

    (@nintechnet)

    You should have NinjaFirewall’s php_value auto_prepend_file... directive too, for instance:

    If that still doesn’t work, try to replace the php_value ... directive with php_admin_value ....

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can’t activate the full waf mode.’ is closed to new replies.