Cannot activate (“optimize”) Wordfence Firewall with php-fpm/FastCGI enabled
-
At our site, we are in the middle of migrating to enabling php-fpm (aka FastCGI) on a series of hosts.
I have three wordpress sites that are causing me to pull my hair out when it comes to “optimizing” the WordFence firewall.
First– When using the standard apache php handler, it works fine. I have absolutely no issues and the appropriate .htaccess and WAF file gets created and it’s all good and it tells me it’s set.
But when I change to using FastCGI, I simply can NOT get it to work. I go through the steps– which has me first download the .htaccess and .user.ini files, and then I click “Continue”. And the wordfence session for doing this DOES recognize I’m using fastcgi. But once I’ve continued, rather than wordpress acknowlighting it’s ready, I get the message “the changes have not been activated yet”, and then– nothing happens. Even restarting php and apache afterwards makes no difference. No amount of waiting makes a difference.
When I folow the steps, the .user.ini and wordfence-waf files ARE created. And they look correct and show up where they should (the wordpress root dir of my site).
- The topic ‘Cannot activate (“optimize”) Wordfence Firewall with php-fpm/FastCGI enabled’ is closed to new replies.