Title: PHP 7 Compatibility
Last modified: September 23, 2016

---

# PHP 7 Compatibility

 *  [jeffhaleword](https://wordpress.org/support/users/jeffhaleword/)
 * (@jeffhaleword)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/php-7-compatibility-78/)
 * WP Engine’s PHP 7 Compatibility Checker identified several things that need changed
   in the plugin code for it to be PHP 7 compatible. Would be great if this helpful
   plugin would be compatible so I could speed up my site.
 * From WP Engine’s PHP 7 Compatibility Checker:
 * FILE: /nas/content/live/rebeldesk/wp-content/plugins/better-wp-security/core/
   class-itsec-core.php
    ————————————————————————————————————————————- FOUND 3 ERRORS
   AFFECTING 3 LINES ————————————————————————————————————————————- 648 | ERROR |
   Global variable ‘HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6 and removed 
   since PHP 7.0 – use php://input instead. 650 | ERROR | Global variable ‘HTTP_RAW_POST_DATA’
   is deprecated since PHP 5.6 and removed since PHP 7.0 – use php://input instead.
   651 | ERROR | Global variable ‘HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6
   and removed since PHP 7.0 – use php://input instead. ————————————————————————————————————————————-
 * FILE: /nas/content/live/rebeldesk/wp-content/plugins/better-wp-security/core/
   content/system.php
    ——————————————————————————————————————————————- FOUND 4 ERRORS
   AFFECTING 4 LINES ——————————————————————————————————————————————- 73 | ERROR 
   | Extension ‘mysql_’ is deprecated since PHP 5.5 and deprecated since PHP 5.6
   and removed since PHP 7.0 – use mysqli instead. 180 | ERROR | INI directive ‘
   safe_mode’ is deprecated from PHP 5.3 and forbidden from PHP 5.4. 231 | ERROR
   | INI directive ‘register_globals’ is deprecated from PHP 5.3 and forbidden from
   PHP 5.4. 248 | ERROR | INI directive ‘magic_quotes_gpc’ is deprecated from PHP
   5.3 and forbidden from PHP 5.4. ——————————————————————————————————————————————-

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

 *  [dwinden](https://wordpress.org/support/users/dwinden/)
 * (@dwinden)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/php-7-compatibility-78/#post-8214264)
 * [@jeffhaleword](https://wordpress.org/support/users/jeffhaleword/)
 * According to the iTSec plugin 5.6.1 [Changelog](https://nl.wordpress.org/plugins/better-wp-security/changelog/):
 * > Compatibility Fix: Changed name of the $HTTP_RAW_POST_DATA variable to avoid
   > erroneously tripping PHP 7 compatibility checks.
 * Also the better-wp-security/core/content/system.php file does no longer exist.
 * It appears like you have not updated to the latest iTSec plugin release 😉
    Which
   release are you currently using ?
 * dwinden
 *  Thread Starter [jeffhaleword](https://wordpress.org/support/users/jeffhaleword/)
 * (@jeffhaleword)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/php-7-compatibility-78/#post-8214583)
 * The theme is working fine now. I didn’t realize I was looking at an old version
   of the report. Thanks.

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

The topic ‘PHP 7 Compatibility’ is closed to new replies.

 * ![](https://ps.w.org/better-wp-security/assets/icon.svg?rev=3529351)
 * [Kadence Security – Password, Two Factor Authentication, and Brute Force Protection](https://wordpress.org/plugins/better-wp-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-wp-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-wp-security/)
 * [Active Topics](https://wordpress.org/support/plugin/better-wp-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-wp-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-wp-security/reviews/)

## Tags

 * [php-7](https://wordpress.org/support/topic-tag/php-7/)
 * [WP engine](https://wordpress.org/support/topic-tag/wp-engine/)

 * 2 replies
 * 2 participants
 * Last reply from: [jeffhaleword](https://wordpress.org/support/users/jeffhaleword/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/php-7-compatibility-78/#post-8214583)
 * Status: not resolved