Title: Compability error with php 7.0
Last modified: July 3, 2018

---

# Compability error with php 7.0

 *  Resolved [pevista](https://wordpress.org/support/users/pevista/)
 * (@pevista)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/compability-error-with-php-7-0/)
 * Hi
    I ran the PHP Compatibility Checker plugin and it reported an error for Hummingbird:
 * FILE: /home/teknikal/public_html/wp-content/plugins/hummingbird-performance/core/
   modules/class-module-advanced.php
    —————————————————————————————————————— FOUND
   1 ERROR AFFECTING 1 LINE —————————————————————————————————————— 501 | ERROR |
   Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use
   mysqli instead —————————————————————————————————————— I don’t know if has any
   importance.

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

 *  [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * (@vanyukov)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/compability-error-with-php-7-0/#post-10457570)
 * Hi [@pevista](https://wordpress.org/support/users/pevista/),
 * Thanks, but if you look at the code that is mentioned in the check (line 501),
   you will see that there is a check to see if mysqli_ extension is available. 
   mysql_ will only be used on older php versions, where there is no mysqli_
 * Best regards,
    Anton
 *  Thread Starter [pevista](https://wordpress.org/support/users/pevista/)
 * (@pevista)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/compability-error-with-php-7-0/#post-10457597)
 * Great, thanks.
    Best Peter

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

The topic ‘Compability error with php 7.0’ is closed to new replies.

 * ![](https://ps.w.org/hummingbird-performance/assets/icon-256x256.gif?rev=2633221)
 * [Hummingbird Performance - Cache & Page Speed Optimization for Core Web Vitals | Critical CSS | Minify CSS | Defer CSS Javascript | CDN](https://wordpress.org/plugins/hummingbird-performance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hummingbird-performance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hummingbird-performance/)
 * [Active Topics](https://wordpress.org/support/plugin/hummingbird-performance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hummingbird-performance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hummingbird-performance/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [pevista](https://wordpress.org/support/users/pevista/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/compability-error-with-php-7-0/#post-10457597)
 * Status: resolved