Ubuntu phusion/baseimage-based PHP and Apache image
1.4K
This image is based on Phusion BaseImage, which is a minimal Ubuntu base image that allows for running multiple processes in a Docker-friendly way.
| Container | PHP Version | Status |
|---|---|---|
confluxgroup/php-apache:5.6 | PHP 5.6 | End of life (PHP EOL Dec 2018) |
confluxgroup/php-apache:7.0 | PHP 7.0 | End of life (PHP EOL Jan 2019) |
confluxgroup/php-apache:7.1 | PHP 7.1 | End of life (PHP EOL Dec 2019) |
confluxgroup/php-apache:7.2 | PHP 7.2 | End of life (PHP EOL Nov 2020) |
confluxgroup/php-apache:7.3 | PHP 7.3 | End of life (PHP EOL Dec 2021) |
confluxgroup/php-apache:7.4 | PHP 7.4 | End of life (PHP EOL Nov 2022) |
confluxgroup/php-apache:8.0 | PHP 8.0 | End of life (PHP EOL Nov 2023) |
confluxgroup/php-apache:8.1 | PHP 8.1 | End of life (PHP EOL Dec 2025) |
confluxgroup/php-apache:8.2 | PHP 8.2 | Supported |
confluxgroup/php-apache:8.3 | PHP 8.3 | Supported |
confluxgroup/php-apache:8.4 | PHP 8.4 | Supported |
confluxgroup/php-apache:8.5 | PHP 8.5 | Supported |
End-of-life tags are no longer updated and should not be used in production. They are kept so older PHP versions are still available for testing, but they are frozen as last built: they get no PHP, OS or image fixes. Supported tags are rebuilt until PHP itself stops getting security updates for that version (PHP 8.2 reaches end of life on 31 Dec 2026).
| Variable | Description |
|---|---|
PUID | Apache UID (Effective user ID) |
PGID | Apache GID (Effective group ID) |
WEB_DOCUMENT_ROOT | Document root for Apache |
PHP_MEMORY_LIMIT | PHP Memory Limit |
PHP_MAX_EXECUTION_TIME | PHP Max Execution Time |
PHP_UPLOAD_MAX_FILESIZE | PHP Upload Max Filesize |
PHP_POST_MAX_SIZE | PHP Post Max Size |
PHP_MAX_INPUT_VARS | PHP Max Input Vars |
PUID and PGID default to 33 (the stock www-data ids). Set them to your host user's ids
(e.g. -e PUID=$(id -u) -e PGID=$(id -g)) so files Apache writes to bind mounts are owned by you on
the host. On supported tags, files inside the image that belonged to the old ids are re-owned at
startup; bind mounts and volumes are never changed.
| Directory | Description |
|---|---|
/var/www/html | Default Apache document root |
| File | Description |
|---|---|
/etc/apache2/sites-available/000-default.conf | Default Apache configuration file |
Content type
Image
Digest
sha256:9ad7cb3ec…
Size
183.7 MB
Last updated
10 days ago
docker pull confluxgroup/php-apache:8.5