• Resolved hatchmo

    (@hatchmo)


    An existing WordPress site stopped working, and a fresh WordPress installer reports the old “PHP installation appears to be missing the MySQL extension”.
    This occurred after we upgraded to the very latest version of everything:

    • Apache 2.4.38
    • Debian 10.0
    • PHP 7.3.8
    • MySQL 10.3.15-MariaDB-1
    • WordPress 5.2.1

    The puzzle is that all of this, including MySQL, is working fine.
    Databases: I have full access to all databases in the command line and in SQL utilities. MariaDB runs just fine in interactive (command line) mode.
    HTTP: All html is served normally. Apache is working fine.
    PHP: Working normally. Everything looks fine in the report that php info() generates.

    Question: Does WordPress absolutely need to call mysqli? Is the Extension that the error message refers to specifically mysqli? No version 7 PHP installer installs that.

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

    (@sterndata)

    Volunteer Forum Moderator

    Do you have php-mysqlnd or the mysqli libs installed?

    https://www.google.com/search?q=debian+php+7+mysqli

    >> Does WordPress absolutely need to call mysqli? <<

    Yes.

    Thread Starter hatchmo

    (@hatchmo)

    Success! The challenge was to find out first that I needed php7.x-mysqli, then how to install it.
    I have to tell you, I read nearly 500 posts about this online, all full of misinformation (in particular about WordPress). Yours was the only response that directly answered my question and actually helped.
    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘What is the “missing MySQL extension”?’ is closed to new replies.