• hello
    before anything i have to say i using “IWFHost” for my wordpress website.
    first i try the recommanded configuration by wordfence which is:
    “Apache+mod_php” after download .htaccess backup file and click on continue button im back to the first page for configuration with some error on top of it which is said if you using lightspeed you have to wait and …
    i checked my .htaccess and see below code generated:
    # Wordfence WAF
    <IfModule mod_php5.c>
    php_value auto_prepend_file ‘/home/toranjtr/public_html/wordfence-waf.php’
    </IfModule>
    <Files “.user.ini”>
    <IfModule mod_authz_core.c>
    Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
    Order deny,allow
    Deny from all
    </IfModule>
    </Files>

    # END Wordfence WAF

    im checked of public_html and found this file “wordfence-waf.php” but this “configuring button” display on top of dashboard.anyway i try to use second method and place auto_prepend_file on php.ini because i dont have any php.ini in my public_html and other places i contact my host support and they say i can create php.ini and place it in public_html so i create empty php.ini file by notepad and then add this code : auto_prepend_file = ‘/home/(myuser)/public_html/wordfence-waf.php’
    but nothing happen still so i add one more code to my .htaccess to read this php.ini file
    “SetEnv PHPRC /home/user/public_html/sitename/php.ini”
    but nothing happen either.
    so i desperately come here and hoped someone here can help me to fix this problem.

    https://wordpress.org/plugins/wordfence/

Viewing 1 replies (of 1 total)
  • Plugin Author WFMattR

    (@wfmattr)

    Hi,

    Sorry for the delay. If you are still having this issue, can you check what version of PHP your site is using?

    You can find this on the Diagnostics page on the Wordfence menu — look for “PHP version >= PHP 5.2.4”, and there should be another colored number at the end of that line.

    You can also try the link “Click to view your system’s configuration in a new window” link near the bottom of the Diagnostics page, and check what it says next to “Server API” in the first table. If it is “LiteSpeed”, we have a change for that setup coming soon. (If you want to adjust .htaccess manually, look for where it says “mod_php5.c” and change that to “lsapi_module”)

    -Matt R

Viewing 1 replies (of 1 total)

The topic ‘can't enable firewall’ is closed to new replies.