Extended Protection with WP Engine and PHP 7.4
-
I read an article on WPE’s site that discusses the deprecation of .htaccess in PHP 7.4.
https://wpengine.com/support/htaccess-deprecation/From what I understand, this is industry wide and not specific to WP Engine.
Currently, when I activate Wordfence extended protection, I use the Apache + mod_php option which adds the following to .htaccess:
# Wordfence WAF
<IfModule mod_php5.c>
php_value auto_prepend_file ‘/nas/content/live/craigruvere/wordfence-waf.php’
</IfModule>
<IfModule mod_php7.c>
php_value auto_prepend_file ‘/nas/content/live/craigruvere/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 WAFSince PHP 7.4 won’t read this request, what are my options for enabling extended protection on sites hosted on WPE?
Thanks for your help/info!
E
- The topic ‘Extended Protection with WP Engine and PHP 7.4’ is closed to new replies.