Skip to content

Enable mysqli extension for PHP 8.1 #280

@iquito

Description

@iquito

Some extensions, most notably for me the mysqli extension, cannot be enabled for PHP 8.1 in the slim image.

Expected Behavior

As far as I can tell, mysqli is purposefully disabled (the directory in this repository for mysqli in 8.1 does not exist, and that is what is checked by install_selected_extensions.php), although it should run fine on PHP 8.1. I did compile PHP 8.1 from sources and had no problems with mysqli, and I was also able to install it from packages.sury.org , which as far as I know is used to install PHP and its extensions in these images.

Current Behavior

#7 2.183 + /usr/bin/real_php /usr/local/bin/install_selected_extensions.php
#7 2.193 *** Installing extensions ***
#7 2.193 The following extension(s) is not supported: mysqli
#7 2.193 Supported extensions: bcmath, bz2, dba, enchant, gd, gmp, imap, intl, ldap, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, pspell, snmp, soap, sqlite3, tidy, xdebug, zip

Context

With the official release of PHP 8.1 yesterday I think all run-of-the-mill extensions should be enabled.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions