Sign inSign up

krato/php

By krato

•Updated 11 months ago

Based on official PHP image, but extended by some fav extensions like pdo-mysql, mariadb-client, ...

Image
0

10K+

krato/php repository overview

⁠General info

Based on the official PHP image. Extended with a few favorite extensions and packages.

The base official PHP package is here: https://hub.docker.com/_/php⁠

⁠Up-to-date

This image is automatically rebuilded in 24 hours after every official php image new build release.

⁠Docker Image Tags

⁠Format

<PHP_VERSION>[-apache][-<major>[.<minor>]]

or: latest

Note: major and minor determines the additional set of features, see:

https://github.com/kratocz/dockerhub-php/blob/main/Dockerfile⁠

⁠Current Tags

⁠Flavors
TagContent
[<additional packages version>]PHP in version 8.2 + additional packages (see below)
<PHP version>[-<additional packages version>]PHP in the specified version + additional packages (see below)
<PHP version>-apache[-<additional packages version>]PHP in the specified version + Apache2 + additional packages (see below)
⁠Supported PHP versions

7.4, 8.1, 8.2, 8.3, 8.4

The versions 5.6, 7.2 still exists here, but they are no longer supported due to missing OS base repositories.

⁠Additional packages version
Additional packages versionOS packagesInstalled and enabled PHP extensionsEnabled Apache2 modules (with the "-apache" tag)
1.2mariadb-client openssh-client zlib1g-dev zip libpng-dev libzip-devpdo_mysql ziprewrite
1.3mariadb-client openssh-client zlib1g-dev zip libpng-dev libzip-dev sendmail libjpeg-dev libjpeg62-turbo-dev libfreetype6-devmysqli gd xdebugrewrite
2.0mariadb-client openssh-client zlib1g-dev zip libpng-dev libzip-dev libjpeg-dev libjpeg62-turbo-dev libfreetype6-dev libmemcached-devmysqli gd xdebug memcached redis opcacherewrite
2.1mariadb-client openssh-client zlib1g-dev zip libpng-dev libzip-dev libjpeg-dev libjpeg62-turbo-dev libfreetype6-dev libmemcached-devmysqli gd xdebug memcached redis opcacherewrite remoteip

Note: xdebug, memcached and redis are not in the PHP 5.6 version.

⁠Examples
  • *-1, *-2, *-3, ... (e.g. 8.2-apache-2) has fixed set of additional packages (recommended).
  • latest

⁠Installation and usage

Use the origin image documentation: https://hub.docker.com/_/php⁠

⁠Maintainer contact

[email protected]⁠

Tag summary

Content type

Image

Digest

sha256:bbd8ceb48…

Size

257.7 MB

Last updated

11 months ago

docker pull krato/php