Title: COMPATIBILITY WITH PHP7
Last modified: November 17, 2016

---

# COMPATIBILITY WITH PHP7

 *  [mindonjesus](https://wordpress.org/support/users/mindonjesus/)
 * (@mindonjesus)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/compatibility-with-php7-2/)
 * Hello, I just did a check on my site to see if its compatible with php 7. I got
   the following errors for your plugin. Please let me know if that can be fixed.
   Thanks
 * FILE: /nas/content/live/mindonjesus/wp-content/plugins/accelerated-mobile-pages/
   includes/options/redux-framework/inc/browser.php
    ——————————————————————————————————————————–
   FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ——————————————————————————————————————————–
   113 | WARNING | Use of deprecated PHP4 style class constructor is not supported
   since PHP 7. ——————————————————————————————————————————–
 * FILE: /nas/content/live/mindonjesus/wp-content/plugins/accelerated-mobile-pages/
   includes/options/redux-framework/inc/validation/preg_replace/validation_preg_replace.
   php
    ———————————————————————————————————————————————————————— FOUND 1 ERROR AFFECTING
   1 LINE ———————————————————————————————————————————————————————— 30 | ERROR | 
   preg_replace() – /e modifier is deprecated since PHP 5.5 and removed since PHP
   7.0 ————————————————————————————————————————————————————————

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

 *  [Khaled](https://wordpress.org/support/users/azmak/)
 * (@azmak)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/compatibility-with-php7-2/#post-8452835)
 * Hello mindonjesus , Thanx for using our plugin and pointing this out , we would
   like to know
 * 1. Which hosting company your using ?
    2. Does your Hosting company gives support
   for PHP 7 ?
 * Regards
    AzMak
 *  Thread Starter [mindonjesus](https://wordpress.org/support/users/mindonjesus/)
 * (@mindonjesus)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/compatibility-with-php7-2/#post-8455758)
 * I host with wpengine and yes they support php7
 *  [quecksilver](https://wordpress.org/support/users/quecksilver/)
 * (@quecksilver)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/compatibility-with-php7-2/#post-8456558)
 * Just to add to this, my site is on PHP 7 and hosted with Pantheon. I dont have
   this validation problem
    -  This reply was modified 9 years, 5 months ago by [quecksilver](https://wordpress.org/support/users/quecksilver/).
 *  [WilliamTai](https://wordpress.org/support/users/williamtai/)
 * (@williamtai)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/compatibility-with-php7-2/#post-8457826)
 * This report was generated by
    [https://tzm.wordpress.org/plugins/php-compatibility-checker/](https://tzm.wordpress.org/plugins/php-compatibility-checker/)
 * my hosting provider also recommend using this to check the plugins compatible
   with php 7 or not.
 * and I got the same result.
 * so the plugin is compatible with php 7?
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/compatibility-with-php7-2/#post-8473214)
 * Hey [@williamtai](https://wordpress.org/support/users/williamtai/) [@mindonjesus](https://wordpress.org/support/users/mindonjesus/)
 * Thank you so much for the detailed feedback, we will fix this in the future updates.
 * I have added this in our Github issues page.
 * Regards,
    Ahmed
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/compatibility-with-php7-2/#post-8473216)
 * and [@quecksilver](https://wordpress.org/support/users/quecksilver/)
    I’m glad
   to know that it is working with Pantheon

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

The topic ‘COMPATIBILITY WITH PHP7’ is closed to new replies.

 * ![](https://ps.w.org/accelerated-mobile-pages/assets/icon-256x256.png?rev=1693616)
 * [AMP for WP - Accelerated Mobile Pages](https://wordpress.org/plugins/accelerated-mobile-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accelerated-mobile-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accelerated-mobile-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accelerated-mobile-pages/reviews/)

 * 6 replies
 * 5 participants
 * Last reply from: [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/compatibility-with-php7-2/#post-8473216)
 * Status: not resolved