Support » Fixing WordPress » WordPress 5.1 with PHP 7.3.2

  • gmichalit

    (@gmichalit)


    Hello people,

    I updated my wordpress 5.1 webserver to the latest php version(php-7.3.2-1.el7.remi.x86_64) and i get the bellow message:

    Your PHP installation appears to be missing the MySQL extension which is required by WordPress.

    Is this version not supported yet? And if so do we know of any workaround solution to make it work?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Install the php-mysqlnd package; you’re missing the MySQL extensions.
    https://rpmfind.net/linux/rpm2html/search.php?query=php73-php-mysqlnd&submit=Search+…&system=&arch=

    Dion

    (@diondesigns)

    Are you using MySQL 8? If so, be aware that the PHP 7.3 native MySQL driver (mysqlnd) seems to have issues with recognizing MySQL 8, and as a result, the mysqli extension will not be loaded. When WordPress can’t find the mysqli extension, it will drop back to the mysql extension, which does not exist in PHP 7.3. Hence the cryptic error message. (This is a bug; WP should not drop back to the mysql extension if PHP 7.0+ is loaded.)

    If this is your situation, your only recourse is to revert to PHP 7.2 or MySQL 5.7. I suggest doing both…the term “bleeding edge” came about for a reason!

    Thread Starter gmichalit

    (@gmichalit)

    Hello again,

    Thanks for your answers.

    I didn’t provide enough information before.

    I am using mariadb

    MariaDB-client-10.3.13-1.el7.centos.x86_64
    MariaDB-server-10.3.13-1.el7.centos.x86_64
    MariaDB-common-10.3.13-1.el7.centos.x86_64
    MariaDB-compat-10.3.13-1.el7.centos.x86_64

    with nginx

    nginx-1.15.9-1.el7_4.ngx.x86_64

    and the bellow php packages with php-mysqlnd-7.3.2 already installed.

    php-bcmath-7.3.2-1.el7.remi.x86_64
    php73-php-cli-7.3.2-1.el7.remi.x86_64
    php-pdo-7.3.2-1.el7.remi.x86_64
    php-7.3.2-1.el7.remi.x86_64
    php-gd-7.3.2-1.el7.remi.x86_64
    php-fpm-7.3.2-1.el7.remi.x86_64
    php73-runtime-2.0-1.el7.remi.x86_64
    php73-2.0-1.el7.remi.x86_64
    php-mysqlnd-7.3.2-1.el7.remi.x86_64
    php-xml-7.3.2-1.el7.remi.x86_64
    php-pecl-zip-1.15.4-1.el7.remi.7.3.x86_64
    php-mbstring-7.3.2-1.el7.remi.x86_64
    php73-php-json-7.3.2-1.el7.remi.x86_64
    php73-php-fpm-7.3.2-1.el7.remi.x86_64
    php-json-7.3.2-1.el7.remi.x86_64
    php-cli-7.3.2-1.el7.remi.x86_64
    php-process-7.3.2-1.el7.remi.x86_64
    php-devel-7.3.2-1.el7.remi.x86_64
    php73-php-common-7.3.2-1.el7.remi.x86_64
    php-common-7.3.2-1.el7.remi.x86_64
    php-fedora-autoloader-1.0.0-1.el7.noarch
    php-pear-1.10.8-1.el7.remi.noarch
    php-pecl-mcrypt-1.0.2-2.el7.remi.7.3.x86_64

    I don’t know if I am missing something else or it is another versioning issue.

    As you can see I am using latest mariadb, php and nginx. I can host web pages fine but something of the above doesn’t seem to be working with wordpress.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress 5.1 with PHP 7.3.2’ is closed to new replies.