Title: Firewall Compatibility problem with php 7.2
Last modified: December 20, 2018

---

# Firewall Compatibility problem with php 7.2

 *  Resolved [caouic](https://wordpress.org/support/users/caouic/)
 * (@caouic)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/firewall-compatibility-problem-with-php-7-2/)
 * Hi,
    There is a compatibility problem with wordfence 7.1.18 and PHP 7.2. The 
   extended protection can’t be turned on. With php 7.1, no problem, it can be turned
   on. I test this case on my 3 sites hosted by OVH.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [wfdave](https://wordpress.org/support/users/wfdave/)
 * (@wfdave)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/firewall-compatibility-problem-with-php-7-2/#post-11017997)
 * Hi [@caouic](https://wordpress.org/support/users/caouic/),
 * I just ran some tests with PHP 7.2 and it seems to work on my end.
 * Can you check the permissions for the document root (the folder containing `wp-
   content`)?
 * This seems to be an issue with Wordfence unable to write to `.htaccess` or `.
   user.ini` (which will be created in the document root).
 * Dave
 *  [wfdave](https://wordpress.org/support/users/wfdave/)
 * (@wfdave)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/firewall-compatibility-problem-with-php-7-2/#post-11067556)
 * Hi again!
 * We haven’t heard back from you in a while so I’ve gone ahead and marked this 
   thread as resolved.
 * Please feel free to open another thread if you’re still having issues with Wordfence.
 * Thanks!
 *  Anonymous User 9948090
 * (@anonymized-9948090)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/firewall-compatibility-problem-with-php-7-2/#post-11071750)
 * I’m using Wordfence latest version with PHP 7.2 without any problem.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Firewall Compatibility problem with php 7.2’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

 * [compatibility](https://wordpress.org/support/topic-tag/compatibility/)
 * [firewall](https://wordpress.org/support/topic-tag/firewall/)
 * [PHP 7.2](https://wordpress.org/support/topic-tag/php-7-2/)

 * 3 replies
 * 3 participants
 * Last reply from: Anonymous User 9948090
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/firewall-compatibility-problem-with-php-7-2/#post-11071750)
 * Status: resolved