← Projects

PHP SBOM

A software bill of materials for six common PHP 8.5 builds. For each one: who builds it, the code bundled in php-src, the OS packages the binary and its extensions load, and who ships the fix for each.

Build

PHP 8.5.12 · Debian GNU/Linux 13 (trixie)

Built from the php.net source on Debian 13 and installed to /usr/local. It uses the copies bundled in php-src. Debian packages provide the libraries under it, so apt updates those, while PHP itself changes only with a new image. Dockerfile · PHP 8.5.12 changelog

Built by
Docker Official Images. The docker-library team maintains the Dockerfiles; Docker builds them.
Distributed
Docker Hub, tag php:8.5-cli (also 8.5.12-cli-trixie), one image for each of 8 architectures. Pull a new image to update.
docker pull php:8.5-cli
11components bundled in php-src
9OS packages linked directly
37OS packages loaded, with indirect ones
36extensions

CycloneDX 1.6 (amd64)

amd64 and arm64 are the same apart from libgcc-s1, loaded only on amd64. The graph and SBOM show amd64.

Dependency graph

Every extension in the middle. On the left, code compiled from php-src: a fix arrives only with a new PHP release and a rebuilt image. On the right, OS packages: a fix arrives with a package update. Hover or tap a box for details.

  • Internal: maintained in php-src
  • Bundled: upstream copy in php-src
  • Patched: bundled with local changes
  • Extension, compiled in
  • Extension, shared .so
  • External: OS package
  • *can be swapped for a system library at build time
  • †upstream archived
IN PHP-SRCEXTENSIONOS PACKAGES date lexbor openssl pcre sqlite3 zlib curl uri fileinfo hash mbstring Zend OPcache standard pdo_sqlite readline libxml SimpleXML dom xml xmlreader xmlwriter sodium PCRE2 * 10.44 timelib 2022.17 Time zone database 2026.5 Lexbor 2.7.0 uriparser * 1.0.2 libmagic 5.46 libmbfl 1.3.2 IR JIT framework xxHash Keccak (SHA-3) crypt_blowfish * readline 8.2 libxml2 2.9.14 OpenSSL 3.5.7 SQLite 3.46.1 zlib 1.3.1 curl 8.14.1 oniguruma † 6.9.9 Argon2 20190702 libsodium 1.0.18

Self-contained extensions (14) Core, ctype, filter, iconv, json, mysqlnd, PDO, Phar, posix, random, Reflection, session, SPL, tokenizer

Not drawn: libc6 2.41-12+deb13u4, libgcc-s1 14.2.0-19, the C runtime every library loads. Hover or tap a box for details and source links.