• Resolved MACscr

    (@macscr)


    Is it possible to relocate these files? We dont allow any writes to happen outside of the wp-content/uploads directory.

    [06-Apr-2022 05:58:10 UTC] Unable to open /var/www/html/wp-content/wflogs/config-synced.php for reading and writing.
    [06-Apr-2022 05:58:11 UTC] Unable to open /var/www/html/wp-content/wflogs/ips.php for reading and writing.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support wfjanet

    (@wfjanet)

    Hi @macscr,

    Thank you for reaching out to us.

    You can bypass the need to write to these files entirely by setting Wordfence to use the MySQLi storage engine instead: https://www.wordfence.com/help/firewall/mysqli-storage-engine/

    Please get back to us in case the above doesn’t solve your issue.

    Thanks,
    Janet

    Plugin Support wfjanet

    (@wfjanet)

    Hi @macscr,

    Sorry for the double responses.

    If you’re running Wordfence on a site where the wp-content directory is not writable, you can change the default path to a path that is writable by defining a constant in wordfence-waf.php. With the firewall set up with “Extended Protection” (using .htaccess or .user.ini), modify the line below in wordfence-waf.php, and change the path to a safe and writable location:

    define(“WFWAF_LOG_PATH”, ‘/var/www/html/wp-content/wflogs/’);

    Please try this in case the solution provided above didn’t solve your issue.

    Thanks,

    Janet

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘move config-sync.php and ips.php’ is closed to new replies.