Consider switching to using Nginx Unit instead of lighttpd+php-fpm

Nginx Unit is a self contained Go binary that acts as a replacement for a web and app server (php-fpm).

While performance is shown to be better than php-fpm, I think the more useful feature is that it would be able to replace the functions performed by lighttpd and php-fpm with a single binary.

See https://www.nginx.com/products/nginx-unit/

We're actually far along the path to incorporating an engine directly in the ftl binary.

For reference

Would Raspberry Pi Zero still be able to support the switch ?

Yes

1 Like