Title: PHP7 Compatibility
Last modified: September 1, 2016

---

# PHP7 Compatibility

 *  Resolved rseigel
 * (@rseigel)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/php7-compatibility-23/)
 * When checking for PHP7 compatibility with WP Engine PHP Compatibility Checker
   the follow errors come up.
 * FILE: /chroot/home/barrhave/ck1.ca/html/wp-content/plugins/duplicator/classes/
   server.php
    ———————————————————————————————– FOUND 1 ERROR AFFECTING 1 LINE ———————————————————————————————–
   24 | ERROR | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and forbidden
   from PHP 5.4. ———————————————————————————————–
 * FILE: /chroot/home/barrhave/ck1.ca/html/wp-content/plugins/duplicator/installer/
   build/classes/class.utils.php
    ——————————————————————————————————————————————-
   FOUND 3 ERRORS AFFECTING 3 LINES ——————————————————————————————————————————————-
   224 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and deprecated since
   PHP 5.6 and removed since PHP 7.0 – use mysqli instead. 248 | ERROR | Extension‘
   mysql_’ is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed 
   since PHP 7.0 – use mysqli instead. 249 | ERROR | Extension ‘mysql_’ is deprecated
   since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 – use mysqli
   instead. ——————————————————————————————————————————————-
 * FILE: /chroot/home/barrhave/ck1.ca/html/wp-content/plugins/duplicator/installer/
   build/ajax.step2.php
    —————————————————————————————————————————————— FOUND 1 
   ERROR AFFECTING 1 LINE —————————————————————————————————————————————— 25 | ERROR
   | Extension ‘mysql_’ is deprecated since PHP 5.5 and deprecated since PHP 5.6
   and removed since PHP 7.0 – use mysqli instead. ——————————————————————————————————————————————
 * FILE: /chroot/home/barrhave/ck1.ca/html/wp-content/plugins/duplicator/installer/
   build/ajax.step1.php
    ——————————————————————————————————————————————- FOUND 6
   ERRORS AFFECTING 6 LINES ——————————————————————————————————————————————- 55 |
   ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and deprecated since PHP
   5.6 and removed since PHP 7.0 – use mysqli instead. 275 | ERROR | Extension ‘
   mysql_’ is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed 
   since PHP 7.0 – use mysqli instead. 278 | ERROR | Extension ‘mysql_’ is deprecated
   since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 – use mysqli
   instead. 279 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and deprecated
   since PHP 5.6 and removed since PHP 7.0 – use mysqli instead. 282 | ERROR | Extension‘
   mysql_’ is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed 
   since PHP 7.0 – use mysqli instead. 354 | ERROR | Extension ‘mysql_’ is deprecated
   since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 – use mysqli
   instead. ——————————————————————————————————————————————-
 * FILE: /chroot/home/barrhave/ck1.ca/html/wp-content/plugins/duplicator/installer/
   build/view.step1.php
    —————————————————————————————————- FOUND 1 ERROR AFFECTING
   1 LINE —————————————————————————————————- 31 | ERROR | INI directive ‘safe_mode’
   is deprecated from PHP 5.3 and forbidden from PHP 5.4. —————————————————————————————————-
 * FILE: /chroot/home/barrhave/ck1.ca/html/wp-content/plugins/duplicator/views/tools/
   diagnostics.php
    ————————————————————————————————- FOUND 3 ERRORS AFFECTING 2
   LINES ————————————————————————————————- 174 | ERROR | INI directive ‘safe_mode’
   is deprecated from PHP 5.3 and forbidden from PHP 5.4. 174 | ERROR | INI directive‘
   safe_mode’ is deprecated from PHP 5.3 and forbidden from PHP 5.4. 175 | ERROR
   | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and forbidden from PHP
   5.4. ————————————————————————————————-
 * Are there any plans to fix this?
 * [https://wordpress.org/plugins/duplicator/](https://wordpress.org/plugins/duplicator/)

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

 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/php7-compatibility-23/#post-7598266)
 * Hey Rseigel,
 * We have done several tests on PHP 7 and haven’t had any issues. Did you run into
   any issues while using PHP 7? Some of those items will not apply as they that
   tool looks to be a generic scanner and it doesn’t look to be properly detecting
   how the logic is actually being called.
 * Thxs
 *  [heytricia](https://wordpress.org/support/users/tendigit/)
 * (@tendigit)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php7-compatibility-23/#post-8202627)
 * We are gearing up to upgrade several client servers to PHP7, and also used the
   WPEngine PHP Compatibility Checker to scan a dev project for issues. Yours was
   one of two plugins that were flagged. I’ve copied the report below. Will Duplicator
   be updated to play well with PHP7? Given we have several large sites on WPEngine
   and others, we need to be proactive and make sure we’re ready for optimal performance.
 * FILE: /Users/heytricia/Documents/Websites/mosspinkflora.dev/wp-content/plugins/
   duplicator/classes/server.php
    ———————————————————————————————————— FOUND 0 ERRORS
   AND 2 WARNINGS AFFECTING 2 LINES ———————————————————————————————————— 24 | WARNING
   | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and forbidden from PHP
   5.4. 25 | WARNING | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and 
   forbidden from PHP 5.4. ————————————————————————————————————
 * FILE: /Users/heytricia/Documents/Websites/mosspinkflora.dev/wp-content/plugins/
   duplicator/installer/build/ajax.step1.php
    ————————————————————————————————————————
   FOUND 6 ERRORS AFFECTING 6 LINES ———————————————————————————————————————— 55 
   | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP
   7.0 – use mysqli instead. 276 | ERROR | Extension ‘mysql_’ is deprecated since
   PHP 5.5 and removed since PHP 7.0 – use mysqli instead. 279 | ERROR | Extension‘
   mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
   280 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since
   PHP 7.0 – use mysqli instead. 283 | ERROR | Extension ‘mysql_’ is deprecated 
   since PHP 5.5 and removed since PHP 7.0 – use mysqli instead. 355 | ERROR | Extension‘
   mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.————————————————————————————————————————
 * FILE: /Users/heytricia/Documents/Websites/mosspinkflora.dev/wp-content/plugins/
   duplicator/installer/build/ajax.step2.php
    ————————————————————————————————————————
   FOUND 1 ERROR AFFECTING 1 LINE ———————————————————————————————————————— 25 | 
   ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 
   7.0 – use mysqli instead. ————————————————————————————————————————
 * FILE: /Users/heytricia/Documents/Websites/mosspinkflora.dev/wp-content/plugins/
   duplicator/installer/build/classes/class.utils.php
    ———————————————————————————————————————————
   FOUND 3 ERRORS AFFECTING 3 LINES ——————————————————————————————————————————— 
   224 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since
   PHP 7.0 – use mysqli instead. 248 | ERROR | Extension ‘mysql_’ is deprecated 
   since PHP 5.5 and removed since PHP 7.0 – use mysqli instead. 249 | ERROR | Extension‘
   mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.———————————————————————————————————————————
 * FILE: /Users/heytricia/Documents/Websites/mosspinkflora.dev/wp-content/plugins/
   duplicator/installer/build/view.step1.php
    ————————————————————————————————————————
   FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES ————————————————————————————————————————
   31 | WARNING | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and forbidden
   from PHP 5.4. 32 | WARNING | INI directive ‘safe_mode’ is deprecated from PHP
   5.3 and forbidden from PHP 5.4. ————————————————————————————————————————
 * FILE: /Users/heytricia/Documents/Websites/mosspinkflora.dev/wp-content/plugins/
   duplicator/views/tools/diagnostics.php
    ———————————————————————————————————————
   FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 2 LINES ———————————————————————————————————————
   174 | WARNING | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and forbidden
   from PHP 5.4. 174 | WARNING | INI directive ‘safe_mode’ is deprecated from PHP
   5.3 and forbidden from PHP 5.4. 175 | WARNING | INI directive ‘safe_mode’ is 
   deprecated from PHP 5.3 and forbidden from PHP 5.4. 175 | WARNING | INI directive‘
   safe_mode’ is deprecated from PHP 5.3 and forbidden from PHP 5.4. ———————————————————————————————————————
    -  This reply was modified 9 years, 7 months ago by [heytricia](https://wordpress.org/support/users/tendigit/).

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

The topic ‘PHP7 Compatibility’ is closed to new replies.

 * ![](https://ps.w.org/duplicator/assets/icon-256x256.png?rev=2906985)
 * [Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More](https://wordpress.org/plugins/duplicator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duplicator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duplicator/)
 * [Active Topics](https://wordpress.org/support/plugin/duplicator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duplicator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duplicator/reviews/)

## Tags

 * [PHP7](https://wordpress.org/support/topic-tag/php7/)

 * 2 replies
 * 3 participants
 * Last reply from: [heytricia](https://wordpress.org/support/users/tendigit/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/php7-compatibility-23/#post-8202627)
 * Status: resolved