• Resolved cavegirltoys

    (@cavegirltoys)


    Hello! I am starting work on a new website with wordpress, however I keep getting this error:
    “Your PHP installation appears to be missing the MySQL extension which is required by WordPress.”

    Current PHP version: 7.3
    Wordpress version: 5.1
    Windows 10 operating system

    I have looked up solutions and have tried different combinations of PHP versions and wordpress versions but none seem to make a difference. I have checked that wp-config.php has the right user information and passwords. I have uninstalled it and reinstalled it, tried different domains and I just keep getting the same errors.

    Much of the support I could find was for linux OS.

    Any help would be greatly appreciated!

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Joy

    (@joyously)

    Which extensions are included in PHP is dependent on the server. It is not something you can fix in WordPress; it is something that WordPress needs in order to run.
    Try looking in your server control panel for the PHP version and somewhere in there it often has a list of extensions to load. If you can’t find it, contact your host for help to find it.

    Dion

    (@diondesigns)

    What version of MySQL are you using? If you’re using MySQL 8.x, try the 5.7 branch instead.

    Thread Starter cavegirltoys

    (@cavegirltoys)

    I saw a list of possible extensions to load but don’t know which ones are needed by wordpress 5.1. Do you have a list and I can make those adjustments.

    I am using MySQL 5.7 if it makes a difference.

    Ill check with my host as well and see if they have additional information.

    Thanks!
    Mieke

    Thread Starter cavegirltoys

    (@cavegirltoys)

    Looks like there was an error on the hosting side and the installer was faulty. It seems to all be working now!

    I found this on another site:

    “My site will not connect to my database after upgrading to PHP 7”

    Previous versions of PHP offered three PHP APIs for accessing a MySQL database. They were:

    mysql
    mysqli
    PDO_MySQL
    PHP 7 has removed support for the mysql extension and affects the following:

    Any queries using a mysql_connect function will not function.
    PHP 7 only allows connections to a MySQL database using mysqli or PDO_MySQL.

    All scripts must be updated in order to continue functioning.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error: PHP missing the MySQL extension’ is closed to new replies.