Skip to content
Discussion options

You must be logged in to vote

Your XCADDY_ARGS=" " did work: the extra Caddy modules (cbrotli, the Mercure Caddy module, Vulcain) are gone. Mercure still shows up because FrankenPHP itself also imports the Mercure library (for mercure_publish() and worker hot reload), and that part is turned off with a Go build tag, not with xcaddy modules.

The dunglas/mercure row in phpinfo() comes from the Go build info (debug.ReadBuildInfo() in phpinfo.go), so it disappears once nothing in the binary imports the package.

FrankenPHP has three optional-feature tags (docs/compile.md):

Tag Removes
nomercure Mercure (mercure.go, caddy/mercure.go and worker hot reload)
nowatcher file watching / restart workers on file change (e-…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@dunglas
Comment options

Answer selected by rikgriffin
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants