Docker image containing the Lighttpd webserver and php-fpm.
1.5K
PHP-Lighttpd is a Dockerfile to build a Lighttpd image with PHP-FPM and FastCGI.
Prebuilt images are built weekly and are available on Docker Hub at siebsie23/php-lighttpd
The images are built on multiple distros which can be found in the table below. All images are built to support the amd64 and arm64 architectures.
Available tags:
| PHP Version | Tags |
|---|---|
| 8.3 | 8.3-alpine 8.3-bullseye |
| 8.2 | 8.2-alpine 8.2-bullseye |
| 8.1 | 8.1-alpine 8.1-bullseye |
| 8.0 | 8.0-alpine 8.0-bullseye |
Clone the git repository and build the image with make build PHP_VERSION="phpversion" DISTRO="distro" phpversion being a valid php-fpm docker image version and distro being one of alpine or bullseye.
siebsie23/php-lighttpd:8.3-alpine and linking the /var/www/ directory to a host directory containing your HTML or PHP files.The following directories are used for configuration and can be mapped for persistent storage.
| Directory | Description |
|---|---|
/var/www/ | Directory to serve your static or PHP files. |
This image relies on the official PHP-fpm image. While building either one of the following is used based on the requested distribution:
| Port | Description |
|---|---|
80 | Default port serving your web files |
GNU GPLv3. See LICENSE for more details.
Content type
Image
Digest
sha256:7ffff428a…
Size
165.5 MB
Last updated
over 2 years ago
docker pull siebsie23/php-lighttpd:8.3-bullseye