• I’m going crazy trying to figure this out.

    Running Apache 2.4 on a Windows 11 machine with PHP 8.2.10 and MySQL 8.0.34. This instance is being setup for local network access only / isn’t accessible from the web.

    Whenever I try and start the install script for WordPress, I get the following error: “Your PHP installation appears to be missing the MySQL extension which is required by WordPress.”. In PHP.ini, I’ve uncommented the following:

    extension=mysqli 
    
    extension=pdo_mysql

    In searching on Google, I also uncommented:

    [sqlite3]
     Directory pointing to SQLite3 extensions
     https://php.net/sqlite3.extension-dir
     sqlite3.extension_dir = "C:\Apache24\PHP-8.2.10\ext"
    [Pdo_mysql]
    Default socket name for local MySQL connects.  If empty, uses the built-in
    MySQL defaults.
    pdo_mysql.default_socket=

    Not sure if the sqlite3 or Pdo_mysql needed to be uncommented, but tried it and didn’t work.

    My PHP info, shows the following pertaining to MySQL:

    mysqlnd	enabled
    Version	mysqlnd 8.2.10
    Compression	supported
    core SSL	supported
    extended SSL	supported
    Command buffer size	4096
    Read buffer size	32768
    Read timeout	86400
    Collecting statistics	Yes
    Collecting memory statistics	No
    Tracing	n/a
    Loaded plugins	mysqlnd,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password,auth_plugin_caching_sha2_password,auth_plugin_sha256_password
    API Extensions	no value

    I am not sure what I am missing, but any assistance is appreciated.

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