PHP-FPM and Apache in one container on the official PHP image; Debian and Alpine
10M+
webdevops/php plus Apache. Apache serves /app and passes PHP requests to PHP-FPM in the same container. Ports: 80 (HTTP) and 443 (HTTPS with a self-signed certificate).
Always use one of the tags below: an image without a tag (latest) and the alpine tag are old builds from 2019 and 2020 that get no updates, see Known issues.
Rebuilt every night for linux/amd64 and linux/arm64.
| Tag | Based on |
|---|---|
8.6 | Debian 13 |
8.5, 8.4, 8.3, 8.2 | Debian 12 |
8.6-alpine, 8.5-alpine, 8.4-alpine, 8.3-alpine, 8.2-alpine | Alpine |
Tags that are not listed here are no longer built and get no updates.
services:
app:
image: webdevops/php-apache:8.5
ports:
- "8080:80"
environment:
WEB_DOCUMENT_ROOT: /app/public
volumes:
- ./:/app
Source and issues: github.com/webdevops/Dockerfile
Content type
Image
Digest
sha256:1d5225281…
Size
167.7 MB
Last updated
about 8 hours ago
docker pull webdevops/php-apache:8.5-alpine