Title: PHP7 Compatibility Issues
Last modified: August 31, 2016

---

# PHP7 Compatibility Issues

 *  [eagleangel](https://wordpress.org/support/users/eagleangel/)
 * (@eagleangel)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php7-compatibility-issues/)
 * I noticed that my hosting provider supports PHP7 so I changed my PHP settings
   to PHP7 and WordPress would not work as MySQL is not supported by PHP7
 * When I downgraded the PHP version WordPress worked again.
 * Can you please provide a list of the options for those who have wordpress sites
   who want to upgrade to the faster version of PHP?

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

 *  Thread Starter [eagleangel](https://wordpress.org/support/users/eagleangel/)
 * (@eagleangel)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php7-compatibility-issues/#post-7004033)
 * Apparently with PHP7 you need to use PDO or mysqli and neither of these are supported
   by WordPress
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php7-compatibility-issues/#post-7004064)
 * Are you having a plugin problem? I’ve been running my WordPress site on PHP7 
   since the PHP7 release candidates.
 * I’m running WordPress 4.4.1 and the core app works perfectly with PHP7, so do
   all of my plugins.
 *  Thread Starter [eagleangel](https://wordpress.org/support/users/eagleangel/)
 * (@eagleangel)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php7-compatibility-issues/#post-7004139)
 * After upgrading PHP to version 7 My website was down saying
 * > Your PHP installation appears to be missing the MySQL extension which is required
   > by WordPress.
 * When looking into it, [PHP7 doesn’t support MySQL](http://stackoverflow.com/questions/34289954/compiled-php-7-missing-mysql-extension-in-wordpress)
   
   Downgrading to PHP5.6 got my site running again
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php7-compatibility-issues/#post-7004144)
 * Which distribution or OS are you using?
 * For example, these instructions work for Ubuntu 14.04.3
 * [https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-php-7-on-ubuntu-14-04](https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-php-7-on-ubuntu-14-04)
 * Same with these instructions which is how I got to PHP7.
 * [https://bjornjohansen.no/upgrade-to-php7](https://bjornjohansen.no/upgrade-to-php7)
 * The speed increase alone for me was enough that I gave up caching plugins.
 *  Thread Starter [eagleangel](https://wordpress.org/support/users/eagleangel/)
 * (@eagleangel)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php7-compatibility-issues/#post-7004146)
 * The following is the server report
 * Hosting Package Crazy Domains – Business Hosting
    Server Name cpanel2 Apache 
   Version 2.2.26 PHP Version 5.4.34 MySQL Version 10.0.17-MariaDB-cll-lve Architecture
   x86_64 Operating System linux Shared IP Address 176.74.27.65 Path to sendmail/
   usr/sbin/sendmail Path to Perl /usr/bin/perl Perl Version 5.10.1 Hosting Manager
   Crazy Domains 2.5 (RC1)
 *  [ekussberg](https://wordpress.org/support/users/kuskov/)
 * (@kuskov)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/php7-compatibility-issues/#post-7004362)
 * MySQL Extension is deprecated in PHP7. Did you find the solution?

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

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

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [ekussberg](https://wordpress.org/support/users/kuskov/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/php7-compatibility-issues/#post-7004362)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
