• Resolved travelgudu

    (@travelgudu)


    Hi everyone,
    I cannot optimize the Wordfence Web Application Firewall: I checked my server API is “CGI/FastCGI” on Wordfence System Info and tried to configure wordfence firewall with this, but it is not working. Can someone help me?
    Thank you

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hey @travelgudu,

    Have you had a chance to work through our troubleshooting guide?

    https://www.wordfence.com/help/firewall/optimizing-the-firewall/troubleshooting/

    Please let me know how it goes.

    Thanks,

    Gerroald

    Thread Starter travelgudu

    (@travelgudu)

    Hi @wfgerald and thank you for your answer.
    I passed through the instructions: my PHP is 5.6 (so it is correct).
    I searched for auto_prepend_file in wordfence system info and I found

    directive local value master value
    auto_prepend_file no value no value

    I tried to repeat the configuration process several times, but there still appears “no value” in there.
    What should I do next?
    Thank you

    PS. not sure if you need this info but the “Loaded configuration file” is /usr/local/php73/lib/php.ini

    Hey @travelgudu,

    It seems there’s either a problem with the auto_prepend_file function, it’s possible that it isn’t enabled. Can you please reach out to your host, share this, and let me know what they say?

    Thanks,

    Gerroald

    Thread Starter travelgudu

    (@travelgudu)

    Thanks @wfgerald I will ask my host and let you know what they say.

    Thread Starter travelgudu

    (@travelgudu)

    Hi @wfgerald
    my host added the following rule to php.ini file in the document root folder:
    auto_prepend_file = ‘/home/trave239/public_html/wordfence-waf.php’
    Now the plugin seems to work properly (there is no longer the warning about the firewall configuration)

    Hey @travelgudu,

    Thanks for the update, and happy to hear it.

    Please do let us know if anything else comes up.

    Thanks,

    Gerroald

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Cannot optimize the Wordfence Web Application Firewall’ is closed to new replies.