Sign inSign up

confluxgroup/php-nginx

By confluxgroup

•Updated 10 days ago

Ubuntu phusion/baseimage-based PHP-FPM and Nginx image

Image
0

1.4K

confluxgroup/php-nginx repository overview

⁠PHP with Nginx 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-nginx:7.0PHP 7.0End of life (PHP EOL Jan 2019)
confluxgroup/php-nginx:7.1PHP 7.1End of life (PHP EOL Dec 2019)
confluxgroup/php-nginx:7.2PHP 7.2End of life (PHP EOL Nov 2020)
confluxgroup/php-nginx:7.3PHP 7.3End of life (PHP EOL Dec 2021)
confluxgroup/php-nginx:7.4PHP 7.4End of life (PHP EOL Nov 2022)
confluxgroup/php-nginx:8.0PHP 8.0End of life (PHP EOL Nov 2023)
confluxgroup/php-nginx:8.1PHP 8.1End of life (PHP EOL Dec 2025)
confluxgroup/php-nginx:8.2PHP 8.2Supported
confluxgroup/php-nginx:8.3PHP 8.3Supported
confluxgroup/php-nginx:8.4PHP 8.4Supported
confluxgroup/php-nginx: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
PUIDPHP-FPM UID (Effective user ID)
PGIDPHP-FPM GID (Effective group ID)
WEB_DOCUMENT_ROOTDocument root for Nginx
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 PHP-FPM 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 Nginx document root
FileDescription
/etc/nginx/sites-available/defaultDefault Nginx configuration file

Tag summary

Content type

Image

Digest

Size

164.2 MB

Last updated

over 7 years ago

docker pull confluxgroup/php-nginx