svandragt / lamb

Literally Another Micro Blog
https://github.com/svandragt/lamb/wiki
MIT License
6 stars 0 forks source link

Frankenphp support #54

Open svandragt opened 6 months ago

svandragt commented 6 months ago

FrankenPHP is caddy with a PHP server built in, so you don't need to manage php-fpm as you do with caddy itself.

Lamb supports it somewhat already if you run it locally this way:

sudo -E $(which frankenphp) php-server -r src/ -l 0.0.0.0:80 -d lamb.test  

sudo is required because of the use of a privileged port (80, because the automatic HTTPS cert support cannot resolve a localonly .test domain)