• 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

    (@eagleangel)

    Apparently with PHP7 you need to use PDO or mysqli and neither of these are supported by WordPress

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    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

    (@eagleangel)

    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
    Downgrading to PHP5.6 got my site running again

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    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

    Same with these instructions which is how I got 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

    (@eagleangel)

    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)

    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.