Title: PHP 7 Support
Last modified: October 13, 2016

---

# PHP 7 Support

 *  [jbryant61](https://wordpress.org/support/users/jbryant61/)
 * (@jbryant61)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php-7-support-18/)
 * I ran the PHP Compatibility Checker from WP Engine and it reported that CFDB 
   is incompatible (1 warning, 19 errors) with PHP 7. Is there an updated version
   coming soon to correct this?

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

 *  Plugin Author [Michael Simpson](https://wordpress.org/support/users/msimpson/)
 * (@msimpson)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php-7-support-18/#post-8292162)
 * [http://cfdbplugin.com/?p=1544](http://cfdbplugin.com/?p=1544)
 *  Thread Starter [jbryant61](https://wordpress.org/support/users/jbryant61/)
 * (@jbryant61)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php-7-support-18/#post-8292842)
 * That may cover the one warning but how about the 19 errors? Does CFDB absolutely
   work with PHP 7? Thank you for the quick response!
 *  [bhenselmann](https://wordpress.org/support/users/bhenselmann/)
 * (@bhenselmann)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php-7-support-18/#post-8315482)
 * Hi jbryant61,
    the 19 errors you mentioned are all of the same nature:
 * FILE: …/plugins/contact-form-7-to-database-extension/CFDBWpdbUnbufferedResultIterator.
   php
    ——————————————————————————————————————————————- FOUND 6 ERRORS AFFECTING
   6 LINES ——————————————————————————————————————————————- 72 | ERROR | Extension‘
   mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
   74 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since
   PHP 7.0 – use mysqli instead. 97 | ERROR | Extension ‘mysql_’ is deprecated since
   PHP 5.5 and removed since PHP 7.0 – use mysqli instead. 100 | ERROR | Extension‘
   mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
   122 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since
   PHP 7.0 – use mysqli instead. 124 | ERROR | Extension ‘mysql_’ is deprecated 
   since PHP 5.5 and removed since PHP 7.0 – use mysqli instead. ——————————————————————————————————————————————-
 * FILE: …/plugins/contact-form-7-to-database-extension/CFDBQueryResultIterator.
   php
    ———————————————————————————————————————————- FOUND 13 ERRORS AFFECTING 13
   LINES ———————————————————————————————————————————- 47 | ERROR | Extension ‘mysql_’
   is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead. 59
   | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP
   7.0 – use mysqli instead. 85 | ERROR | Extension ‘mysql_’ is deprecated since
   PHP 5.5 and removed since PHP 7.0 – use mysqli instead. 87 | ERROR | Extension‘
   mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
   114 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since
   PHP 7.0 – use mysqli instead. 121 | ERROR | Extension ‘mysql_’ is deprecated 
   since PHP 5.5 and removed since PHP 7.0 – use mysqli instead. 122 | ERROR | Extension‘
   mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
   132 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since
   PHP 7.0 – use mysqli instead. 136 | ERROR | Extension ‘mysql_’ is deprecated 
   since PHP 5.5 and removed since PHP 7.0 – use mysqli instead. 138 | ERROR | Extension‘
   mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
   146 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since
   PHP 7.0 – use mysqli instead. 150 | ERROR | Extension ‘mysql_’ is deprecated 
   since PHP 5.5 and removed since PHP 7.0 – use mysqli instead. 152 | ERROR | Extension‘
   mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.———————————————————————————————————————————-
 * On the plugin#s website Michael explains:
    “The code contains both the new “mysqli”
   and old “mysql_” for both new and old versions of PHP. The old code is not run
   under PHP 7.”
 * This means, that th plugin IS compatible with PHP7 as well!
 *  Plugin Author [Michael Simpson](https://wordpress.org/support/users/msimpson/)
 * (@msimpson)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php-7-support-18/#post-8317572)
 * Exactly right.

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

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

 * ![](https://s.w.org/plugins/geopattern-icon/contact-form-7-to-database-extension_ffffff.
   svg)
 * [Contact Form DB](https://wordpress.org/plugins/contact-form-7-to-database-extension/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7-to-database-extension/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Michael Simpson](https://wordpress.org/support/users/msimpson/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/php-7-support-18/#post-8317572)
 * Status: not resolved