You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove NGINX Unit support and related documentation following its deprecation. Updated references across multiple files to reflect the removal, including configuration scripts and README sections. Adjusted health check documentation and entrypoint scripts accordingly.
| unit (deprecated) | ⚠️ NGINX is no longer maintaining NGINX Unit. It will eventually be removed from this project. [Learn more →](https://serversideup.net/open-source/docker-php/docs/image-variations/unit)|
112
+
| unit (deprecated) | ⚠️ NGINX is no longer maintaining NGINX Unit. Updates have been removed from this project. [Learn more →](https://serversideup.net/open-source/docker-php/docs/image-variations/unit)|
113
113
114
114
## Professional Support
115
115
Need help integrating Docker with your PHP application?
| frankenphp | **Debian Based** [{.h-5.w-auto :zoom=false}](https://hub.docker.com/r/serversideup/php/tags?name=8.4-frankenphp&page=1&ordering=-name) [{.h-5.w-auto :zoom=false}](https://hub.docker.com/r/serversideup/php/tags?name=8.3-frankenphp&page=1&ordering=-name) <br>**Alpine Based** <br /> ⚠️ Some users are experiencing [known performance issues](https://frankenphp.dev/docs/known-issues/){target="_blank"} with FrankenPHP on Alpine. Consider using the Debian version. <br /> [{.h-5.w-auto :zoom=false}](https://hub.docker.com/r/serversideup/php/tags?name=8.4-frankenphp-alpine&page=1&ordering=-name) [{.h-5.w-auto :zoom=false}](https://hub.docker.com/r/serversideup/php/tags?name=8.3-frankenphp-alpine&page=1&ordering=-name) |
43
-
| unit (deprecated) | NGINX stopped supporting NGINX Unit and archived the project. NGINX Unit will eventually be removed from our project. [Learn more →](/docs/image-variations/unit/)|
43
+
| unit (deprecated) | NGINX stopped supporting NGINX Unit it has been removed from our project. [Learn more →](/docs/image-variations/unit/)|
44
44
45
45
## The full tag schema
46
46
Our tagging process is quite flexible, and it can become quite complex, but don't worry -- we've spent a ton of time applying sensible defaults to give you the best experience.
@@ -79,7 +79,6 @@ Choose from several variations to suit your needs. Each variation is optimized f
79
79
|`fpm-apache`| Combines PHP-FPM with Apache as a reverse proxy. Ideal for running WordPress with Docker. |
80
80
|`fpm-nginx`| Combines PHP-FPM with NGINX as a reverse proxy. This is the traditional setup widely adopted for modern PHP applications, including Laravel. |
81
81
|`frankenphp`| Modern application server built on Caddy that runs everything in a single process. Ideal for Laravel/Symfony applications with worker mode support, automatic HTTPS, and HTTP/2 and HTTP/3 protocols. |
82
-
|`unit` <br />(deprecated) | Uses NGINX Unit as a modern application server that runs everything in a single process. Consider migrating to FrankenPHP for a modern alternative. |
83
82
84
83
### CLI
85
84
The CLI variation is a minimal image designed for running PHP from the command line only. It does not include a web server. Use this variation when you need a disposable and repeatable method for easily running PHP scripts from your terminal.
@@ -117,11 +116,9 @@ Use this variation for Laravel or Symfony applications that can benefit from wor
In October 2025, NGINX stopped supporting NGINX Unit and archived the project. NGINX Unit will eventually be removed from our project. [See the official announcement →](https://github.com/nginx/unit?tab=readme-ov-file#nginx-unit)
119
+
In October 2025, NGINX stopped supporting NGINX Unit and archived the project. NGINX Unit has been removed from our project. [See the official announcement →](https://github.com/nginx/unit?tab=readme-ov-file#nginx-unit)
121
120
::
122
121
123
-
The Unit variation uses NGINX Unit as an application server that runs everything in a single process. Since NGINX Unit is no longer maintained, consider migrating to FrankenPHP for a single-process alternative.
124
-
125
122
## Operating Systems
126
123
Choosing an operating system comes down to a few preferences, but ultimately you need to make sure your dependencies are available for the operating system you choose.
Copy file name to clipboardExpand all lines: docs/content/docs/1.getting-started/6.default-configurations.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,6 @@ On Linux systems, only root can bind to ports below 1024 (like 80 and 443). Sinc
34
34
| fpm | 9000 |
35
35
| fpm-nginx | HTTP: 8080, HTTPS: 8443 |
36
36
| fpm-apache | HTTP: 8080, HTTPS: 8443 |
37
-
| unit | HTTP: 8080, HTTPS: 8443 |
38
37
| frankenphp | HTTP: 8080, HTTPS: 8443 |
39
38
40
39
#### File permissions to be aware of
@@ -126,7 +125,7 @@ The following packages are installed by default:
126
125
127
126
128
127
## Health Checks
129
-
By default, all health checks for web servers (Apache, Unit, NGINX, etc.) are located at `/healthcheck`. You should receive an `OK` response if the container is healthy.
128
+
By default, all health checks for web servers (Apache, NGINX, FrankenPHP, etc.) are located at `/healthcheck`. You should receive an `OK` response if the container is healthy.
130
129
131
130
For our `fpm` variation, we use the [`php-fpm-healthcheck`](https://github.com/renatomefi/php-fpm-healthcheck) script to verify the health of PHP-FPM. This script is located at `/usr/local/bin/php-fpm-healthcheck`.
132
131
@@ -146,7 +145,6 @@ We also provide a few default scripts to help you get started.
146
145
|`1-log-output-level.sh`| Sets PHP log output level to match `LOG_OUTPUT_LEVEL`| all |
147
146
|`5-generate-ssl.sh`| Generates a self-signed SSL certificate and key for the container. | fpm-nginx, fpm-apache, frankenphp |
148
147
|`5-fpm-pool-user.sh`| Sets the user and group of the PHP-FPM child processes to the values of `PHP_FPM_CHILD_PROCESS_USER` and `PHP_FPM_CHILD_PROCESS_GROUP` if the container is running as root. | fpm |
149
-
|`10-init-unit.sh`| Processes Unit templates, configures SSL (if enabled), and prepares NGINX Unit for launch | unit |
150
148
|`10-init-webserver-config.sh`| Processes web server configuration templates, configures SSL (if enabled), and prepares web server for launch |*-nginx <br/> *-apache |
151
149
|`50-laravel-automations.sh`| If `AUTORUN_ENABLED` is set to true, and a Laravel installation is detected, the following commands will automatically execute on container start: <br/> - `php artisan config:cache` <br/> - `php artisan route:cache` <br/> - `php artisan view:cache` <br/> - `php artisan event:cache` <br/> - `php artisan migrate --force`| all |
Copy file name to clipboardExpand all lines: docs/content/docs/2.image-variations/unit.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ description: 'NGINX Unit has been archived. This guide helps you understand what
8
8
In October 2025, NGINX officially archived the NGINX Unit project and stopped all maintenance. If you're seeing this page, you're likely using our Unit-based images and wondering what to do next.
**The Unit variation is deprecated and will be removed in the next major release.**[View official NGINX announcement →](https://github.com/nginx/unit?tab=readme-ov-file#nginx-unit){target="_blank"}
11
+
**The Unit variation is deprecated and has been removed from our project.**[View official NGINX announcement →](https://github.com/nginx/unit?tab=readme-ov-file#nginx-unit){target="_blank"}
12
12
::
13
13
14
14
**The good news:** Your application will continue to work, and you have time to plan your migration. Below, we'll answer your most important questions and guide you through your options.
0 commit comments