sohmc/php-mysqli

By sohmc

Updated over 1 year ago

PHP with mysqli driver

Image
0

1M+

sohmc/php-mysqli repository overview

php with mysqli

Build and Deploy - PHP 8.1 Variants Build and Deploy - PHP 8.2 Variants Build and Deploy - PHP 8.3 Variants Docker Pulls

This Dockerfile is based on Docker Hub's official php image. The goal of this project is simple: Install the mysqli driver.

If you're like me, you likely have php code that you really don't want to port over to PDO_MySQL.

Since mysqli is still supported, this docker image installs the driver but leaves everything else the same. For all intents and purposes, you may continue to use the official documentation to deploy this container.

Tagging conventions

This repository will attempt, using Github Actions on a daily schedule, to keep in line with official releases of the official repository. As such, containers will append -mysqli to the end of the repo name, like so:

php-mysqli:8-apache
php-mysqli:8-fpm
php-mysqli:8-buster

The tags will continue to be the same as the official repository, indicating the version number and variant.

PHP has stopped supporting php 7 on Nov. 28, 2022 and php 8.0 on Nov. 25, 2023. php 8.1 is now only receiving security updates.

As a result, only php 8.1, 8.2, and 8.3 will be built. As minor versions are released, I will update this section accordingly. If you happen to catch it before I do, please feel free to create an issue.

Tag Strategy

To decrease the load on Github's servers, this repository will always pull the following images:

  • PHP 8 Latest
    • PHP 8.1.x Latest
    • PHP 8.2.x Latest
    • PHP 8.3.x Latest

Previous version images are available in Docker Hub by their specific tag name.

Using Docker's qemu action, this repository will attempt to provide images for all supported architectures. The only architecture that is known to not be supported is arm32v5.

License

The PHP image created by Docker is released via the MIT license. Likewise, the php-mysqli image created by this repository is also released via the MIT license.

All code written within and maintained within .github/workflows/ and ci/ directories are released via AGPL 3.0.

Tag summary

Content type

Image

Digest

sha256:3d6961f07

Size

39.3 MB

Last updated

over 1 year ago

docker pull sohmc/php-mysqli:8.3-zts-alpine3.20