Sign inSign up

siebsie23/php-lighttpd

By siebsie23

Updated over 2 years ago

Docker image containing the Lighttpd webserver and php-fpm.

Image
0

1.5K

siebsie23/php-lighttpd repository overview

PHP-Lighttpd

GitHub Build Status


About

PHP-Lighttpd is a Dockerfile to build a Lighttpd image with PHP-FPM and FastCGI.

Installation

Use the pre-built package

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 VersionTags
8.38.3-alpine
8.3-bullseye
8.28.2-alpine
8.2-bullseye
8.18.1-alpine
8.1-bullseye
8.08.0-alpine
8.0-bullseye
Build from Source

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.

Configuration

Quick Start
  • The quickest way to get started is by using a prebuilt image i.e. siebsie23/php-lighttpd:8.3-alpine and linking the /var/www/ directory to a host directory containing your HTML or PHP files.
  • Map persistent storage for access to configuration and data files for backup.
Persistent Storage

The following directories are used for configuration and can be mapped for persistent storage.

DirectoryDescription
/var/www/Directory to serve your static or PHP files.
Base Images used

This image relies on the official PHP-fpm image. While building either one of the following is used based on the requested distribution:

  • php:*-fpm-alpine
  • php:*-fpm-bullseye
Networking
PortDescription
80Default port serving your web files

Support

Bugfixes
  • Please, submit a Bug Report if something isn't working as expected. I'll do my best to issue a fix in short order.

License

GNU GPLv3. See LICENSE for more details.

Tag summary

Content type

Image

Digest

sha256:7ffff428a

Size

165.5 MB

Last updated

over 2 years ago

docker pull siebsie23/php-lighttpd:8.3-bullseye