Title: Php 7 &#8211; SG OPtimizer Siteground &#8211; Testing
Last modified: September 14, 2017

---

# Php 7 – SG OPtimizer Siteground – Testing

 *  Resolved [itsbutter](https://wordpress.org/support/users/itsbutter/)
 * (@itsbutter)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/php-7-sg-optimizer-siteground-testing/)
 * This is just a head’s up. Siteground offers a plugin SG Optimizer that runs a
   Php 7 compatibility check and returns these error messages for WP edition before
   a move to Php 7
 * —-
 * ————————————————————————————————–
 * FILE: /-/-/-/wp-content/plugins/ninjafirewall/lib/firewall.php
    ————————————————————————————————————————————–
   FOUND 12 ERRORS AFFECTING 12 LINES ————————————————————————————————————————————–
   358 | ERROR | Global variable ‘$HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6
   and removed since PHP 7.0 – use php://input instead. 359 | ERROR | Global variable‘
   $HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6 and removed since PHP 7.0 – 
   use php://input instead. 364 | ERROR | Global variable ‘$HTTP_RAW_POST_DATA’ 
   is deprecated since PHP 5.6 and removed since PHP 7.0 – use php://input instead.
   372 | ERROR | Global variable ‘$HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6
   and removed since PHP 7.0 – use php://input instead. 594 | ERROR | Global variable‘
   $HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6 and removed since PHP 7.0 – 
   use php://input instead. 608 | ERROR | Global variable ‘$HTTP_RAW_POST_DATA’ 
   is deprecated since PHP 5.6 and removed since PHP 7.0 – use php://input instead.
   609 | ERROR | Global variable ‘$HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6
   and removed since PHP 7.0 – use php://input instead. 612 | ERROR | Global variable‘
   $HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6 and removed since PHP 7.0 – 
   use php://input instead. 682 | ERROR | Global variable ‘$HTTP_RAW_POST_DATA’ 
   is deprecated since PHP 5.6 and removed since PHP 7.0 – use php://input instead.
   683 | ERROR | Global variable ‘$HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6
   and removed since PHP 7.0 – use php://input instead. 684 | ERROR | Global variable‘
   $HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6 and removed since PHP 7.0 – 
   use php://input instead. 686 | ERROR | Global variable ‘$HTTP_RAW_POST_DATA’ 
   is deprecated since PHP 5.6 and removed since PHP 7.0 – use php://input instead.————————————————————————————————————————————–

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

 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/php-7-sg-optimizer-siteground-testing/#post-9498577)
 * Hi
 * You can safely ignore this warning. It is fully compatible with PHP 7.
    The `
   $HTTP_RAW_POST_DATA` is created by NinjaFirewall just for backward compatibility(
   i.e., PHP 5.3 to 5.5). Your script recommends to use `php://input`, but that 
   is exactly what NinjaFirewall does!
 *  Thread Starter [itsbutter](https://wordpress.org/support/users/itsbutter/)
 * (@itsbutter)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/php-7-sg-optimizer-siteground-testing/#post-9501501)
 * Thanks! You guys are great. I’m a php noob so I appreciate this explanation!
 * Have a great day/evening.

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

The topic ‘Php 7 – SG OPtimizer Siteground – Testing’ is closed to new replies.

 * ![](https://ps.w.org/ninjafirewall/assets/icon-256x256.png?rev=976137)
 * [NinjaFirewall (WP Edition) - Advanced Security Plugin and Firewall](https://wordpress.org/plugins/ninjafirewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ninjafirewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ninjafirewall/)
 * [Active Topics](https://wordpress.org/support/plugin/ninjafirewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ninjafirewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ninjafirewall/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [itsbutter](https://wordpress.org/support/users/itsbutter/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/php-7-sg-optimizer-siteground-testing/#post-9501501)
 * Status: resolved