Optimise Apache + CGI/FastCGI
-
I installed Wordfence on a new domain a few months ago and set up the firewall with no problems. Yesterday I had a notice that the server would be down for maintenance and upgrading. My site was down for 64 minutes and afterwards appeared normal.
Today I noticed that WF showed the notice: “To make your site as secure as possible, take a moment to optimize the Wordfence Web Application Firewall:”.
Assuming that the firewall settings had been lost, I clicked to configure and on the Firewall page found:
“We’ve preselected your server configuration based on our tests, but if you know your web server’s configuration, please select it now: Apache + mod_php (recommended based on our tests).” I clicked and waited, but no change.I checked the information about the Server API and found CGI/FastCGI, so chose Apache + CGI/FastCGI. I clicked and waited, but no change.
The wordfence-waf.php file is in place and has the lines:
<?php // Before removing this file, please verify the PHP ini setting <code>auto_prepend_file</code> does not point to this. if (file_exists('/home/u422710550/public_html/wp-content/plugins/wordfence/waf/bootstrap.php')) { define("WFWAF_LOG_PATH", '/home/u422710550/public_html/wp-content/wflogs/'); include_once '/home/u422710550/public_html/wp-content/plugins/wordfence/waf/bootstrap.php'; } ?>
The downloaded htaccess file shows the lines:
# Wordfence WAF <IfModule mod_php5.c> php_value auto_prepend_file '/home/u422710550/public_html/wordfence-waf.php' </IfModule> # END Wordfence WAF
However, the file on the server only had the # Wordfence WAF and # END Wordfence WAF lines. I added back the above lines of code. Is this correct?
The Firewall page shows: Protection Level: Basic WordPress Protection with a button: Optimize the Wordfence Firewall.
Clicking this, brings me back to the previous set-up page.My host uses cPanel, but there is no PHP Variables Manager icon. PHP Version 5.6.30
What further steps, if any, should I take?
- The topic ‘Optimise Apache + CGI/FastCGI’ is closed to new replies.