unit-php
Unit-PHP provides Docker images that combine PHP with NGINX Unit, a lightweight application server, so developers can build and run PHP applications in both…
Platform availability
Available on 0 of 10 platforms
- Unraid (not listed)
- TrueNAS (not listed)
- Umbrel (not listed)
- ZimaOS (not listed)
- Proxmox (not listed)
- Helm (not listed)
- Mac (not listed)
- Windows (not listed)
- Linux (not listed)
- Any server (not listed)
Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.
81/100 Excellent
- Maintained
- 100last commit 18 days ago
- Popular
- 8620,074 GitHub stars
- Easy to install
- 250 install platforms, install notes, Docker image
- Light to run
- 95512 MB minimum RAM, runs on ARM
- GitHub stars
- 20,074
- Open issues
- 9
- Last commit
- 2026-11-03
- Latest release
- 13.4.6
- License
- BSD-3-Clause
- Activity
- rising
Checked 18 days ago - source: GitHub (sebastianbergmann/phpunit)
Resources & Compatibility
Minimum requirements: 512 MB RAM, 200 MB disk. ARM (e.g. Raspberry Pi) is supported.
Checked 54 days ago - source: Docker Hub image tags and published docs
First-install notes
- Install the PHP module first On Debian/Ubuntu, use the setup script and install the Unit packages that include the PHP module, unit-php. If you skip unit-php, Unit will start but your PHP code will not run. source
- Point Unit at the right folders If you run Unit in Docker, point the container at your PHP files and at a separate folder for the control socket (a special file that lets tools send commands to Unit). If either folder is missing, Unit cannot find your app or accept restart/status commands. source
- Create a simple test page first Run setup-unit welcome to make a basic welcome-page config before adding your PHP app. Without a basic config, Unit may have nothing to serve and it is harder to tell whether the server is working. source
Fetched 42 days ago - each note links to its source
Variants
Alternatives
No alternatives collected yet.
Common questions
What load-balancing consideration came up for people using Nginx Unit for PHP?
A Reddit discussion compares Unit with php-fpm and says that, if load balancing is needed, nginx may still be required in front.
How did a PHP API latency benchmark for Nginx Unit compare with PHP-FPM?
A developer reported unexpectedly different latency results for a Symfony API in New Relic after benchmarking the two.
What did a Unit-PHP install on Ubuntu 24.04 report about the PHP version and configuration?
A forum user reported that the install unexpectedly provided PHP 8.4 and that an older configuration file no longer worked.
Answers sourced from community.nginx.org, www.reddit.com, www.reddit.com
Community
- Is anyone using nginx Unit? : r/PHP - Reddit (reddit)
- Unit-PHP with version 8.4 - Other Projects - NGINX Community Forum (other)
- Nginx Unit and PHP-FPM latency results on New Relic vastly ... - Reddit (reddit)
- Nginx Unit: PHP application? | DirectAdmin Forums (forum)
Collected 48 days ago - public community threads