php
OfficialPHP with FPM
8.9K pulls
14 MBvs200 MBDocker14x smaller
1 versionUpdated 2026-03-29PHP-3.01Security: A+$ niso pull php14x smaller than Docker
This package is 14 MB vs Docker's 200 MB image. That's 14x less disk space, faster pulls, and a smaller attack surface.
PHP is one of the most widely used server-side scripting languages, powering over 75% of websites with a known server-side language including WordPress, Laravel, and Symfony applications.
niso packages PHP with FPM at 14 MB -- 14x smaller than Docker's 200 MB php:8.3-fpm-alpine image. Includes php, php-fpm, and common extensions (pdo, mbstring, curl, json, xml). FPM pool configuration mounts from the host for easy tuning. Pairs naturally with the nginx package.
Key features
- 14 MB total package size (14x smaller than Docker)
- Multi-architecture: x86_64 and aarch64
- Runtime installed once, isolated per service at activation
- Security score: A+
How to use
manifest.toml
[package]
name = "my-app"
version = "1.0.0"
[runtime]
use = "php:8.3.6"
[binary]
entrypoint = "server.js"
[network]
ports = ["3000:3000"]
[isolation]
preset = "server"Dependencies
php 14 MB
├── musl libc 1.2.5 (0.6 MB)
├── libssl 3.3.0 (2.1 MB)
├── libcrypto 3.3.0 (3.8 MB)
├── libxml2 2.12.6 (1.4 MB)
├── libcurl 8.7.1 (0.5 MB)
├── libsqlite3 3.45.0 (1.2 MB)
└── oniguruma 6.9.9 (0.3 MB)