Sign inSign up

confluxgroup/php-apache

By confluxgroup

•Updated 10 days ago

Ubuntu phusion/baseimage-based PHP and Apache image

Image
0

1.4K

confluxgroup/php-apache repository overview

⁠PHP with Apache container

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.

ContainerPHP VersionStatus
confluxgroup/php-apache:5.6PHP 5.6End of life (PHP EOL Dec 2018)
confluxgroup/php-apache:7.0PHP 7.0End of life (PHP EOL Jan 2019)
confluxgroup/php-apache:7.1PHP 7.1End of life (PHP EOL Dec 2019)
confluxgroup/php-apache:7.2PHP 7.2End of life (PHP EOL Nov 2020)
confluxgroup/php-apache:7.3PHP 7.3End of life (PHP EOL Dec 2021)
confluxgroup/php-apache:7.4PHP 7.4End of life (PHP EOL Nov 2022)
confluxgroup/php-apache:8.0PHP 8.0End of life (PHP EOL Nov 2023)
confluxgroup/php-apache:8.1PHP 8.1End of life (PHP EOL Dec 2025)
confluxgroup/php-apache:8.2PHP 8.2Supported
confluxgroup/php-apache:8.3PHP 8.3Supported
confluxgroup/php-apache:8.4PHP 8.4Supported
confluxgroup/php-apache:8.5PHP 8.5Supported

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).

⁠Environment variables

VariableDescription
PUIDApache UID (Effective user ID)
PGIDApache GID (Effective group ID)
WEB_DOCUMENT_ROOTDocument root for Apache
PHP_MEMORY_LIMITPHP Memory Limit
PHP_MAX_EXECUTION_TIMEPHP Max Execution Time
PHP_UPLOAD_MAX_FILESIZEPHP Upload Max Filesize
PHP_POST_MAX_SIZEPHP Post Max Size
PHP_MAX_INPUT_VARSPHP 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.

⁠Filesystem layout

DirectoryDescription
/var/www/htmlDefault Apache document root
FileDescription
/etc/apache2/sites-available/000-default.confDefault Apache configuration file

Tag summary

Content type

Image

Digest

sha256:9ad7cb3ec…

Size

183.7 MB

Last updated

10 days ago

docker pull confluxgroup/php-apache:8.5