dunglas / frankenphp

🧟 The modern PHP app server
https://frankenphp.dev
MIT License
6.98k stars 244 forks source link

Unable to download frankenphp from Caddy Downloads #1085

Open loalf opened 1 month ago

loalf commented 1 month ago

What happened?

I'm trying to install frankenphp as a Caddy module, but this URL fails

https://caddyserver.com/api/download?os=linux&arch=amd64&p=github.com/dunglas/frankenphp/caddy

Build Type

Custom (tell us more in the description)

Worker Mode

Yes

Operating System

GNU/Linux

CPU Architecture

x86_64

PHP configuration

It's not php.

Relevant log output

No response

withinboredom commented 1 month ago

Frankenphp is implemented as a Caddy module, but cannot be installed as a caddy module on its own. It requires a PHP installation, compiled in ZTS mode, and other dependencies. Instead, you use xcaddy on frankenphp and install caddy modules on it.

mholt commented 1 month ago

Yeah; sorry, our download page does not support actually building with FrankenPHP (cgo and other unusual build requirements). We'll try to make this more apparent.