The short answer
- php:8.4-fpm-alpine is 428 MB smaller unpacked on amd64 (91 MB vs 519 MB, 82% less).
- As a download, php:8.4-fpm-alpine is 37 MB compressed against 180 MB for php:8.4-apache: 4.9× less to pull.
- php:8.4-fpm-alpine has fewer known vulnerabilities: 49 (3 critical or high) against 1920 (124 critical or high) in php:8.4-apache.
- 0 of php:8.4-apache's 1920 findings have a fixed version available upstream.
- 49 of php:8.4-fpm-alpine's 49 findings have a fixed version available upstream.
- Base OS: php:8.4-apache is built on Debian 13.7 (trixie); php:8.4-fpm-alpine on Alpine Linux 3.24.3.
- Alpine images use musl libc instead of glibc. Most software runs unchanged; prebuilt binaries linked against glibc (some Python wheels, Node native modules, vendor agents) may not.
- Packages detected: 186 in php:8.4-apache, 41 in php:8.4-fpm-alpine.
- Filesystem layers: 15 vs 12.
- Platforms: only php:8.4-apache ships arm/v5; only php:8.4-fpm-alpine ships arm/v6.
| php:8.4-apache | php:8.4-fpm-alpine | |
|---|---|---|
| Download, amd64 | 180 MB | 37 MB |
| Unpacked, amd64 | 519 MB | 91 MB |
| Download, arm64 | 172 MB | 37 MB |
| Base OS | Debian 13.7 (trixie) | Alpine Linux 3.24.3 |
| Layers | 15 | 12 |
| Packages | 186 | 41 |
| Files | 9,789 | 815 |
| Known vulnerabilities | C 2H 122M 820L 969? 7 | C 1H 2M 2L 44 |
| Default user | root | root |
| Platforms | 8 | 8 |
| Last pushed | yesterday | 7 days ago |
Size
Compressed (download)Unpacked (on disk)
Vulnerabilities
CriticalHighMediumLowUnknown
Compare against something else →
Highlighted cells are lower (smaller or fewer). Sizes from Docker Hub checked 2026-11-01; measurements and SBOMs from 2026-10-31 and 2026-10-26; vulnerability database 2026-11-01. Methodology.