Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Feature Request: Include ACME DNS modules (e.g. Cloudflare) in official Windows pre-built binaries

Đang mở
#2,731 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github, go, php
Lĩnh vực
devops, release

Hướng nghiên cứu

Read the Windows release build workflow and how FrankenPHP packages Caddy modules. Compare the proposed default binary and separate asset options, including the Windows CGO and PHP DLL constraints described here. Done means choosing a supported packaging approach and providing Windows release binaries with the Cloudflare DNS module.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement
Describe your feature request
Feature Description

Currently, using DNS-01 ACME challenges (such as github.com/caddy-dns/cloudflare for Let's Encrypt / ZeroSSL wildcard certificates or setups behind Cloudflare Proxy) with FrankenPHP requires building a custom binary with xcaddy.

While this is straightforward on Linux using multi-stage Docker builds, creating a custom build for Windows is significantly more complex due to CGO dependencies, MSVC/GCC cross-compilation environments, and PHP DLL linking requirements.

It would be extremely helpful to have official pre-built Windows binaries (frankenphp.exe) that natively include popular Caddy DNS provider modules (or at least github.com/caddy-dns/cloudflare).


Use Case
  • Windows Native Deployments / Development: Running FrankenPHP directly on Windows servers or local environments without forcing a Docker/WSL2 layer.
  • Wildcard TLS Certificates on Windows: Obtaining *.domain.com certificates requires the DNS-01 challenge, which is impossible natively on Windows without rebuilding Caddy/FrankenPHP.
  • Environments Behind Cloudflare Proxy / Internal Networks: Obtaining certificates when HTTP-01 challenges (port 80/443) are restricted or routed through Cloudflare.

Proposed Solution
  1. Option A (Default Binaries): Embed github.com/caddy-dns/cloudflare (and potentially other common providers like Route53, DigitalOcean, Hetzner) directly into the official GitHub Release assets for Windows.
  2. Option B (Separate Windows Asset): Provide a dedicated release binary asset (e.g., frankenphp-windows-x86_64-cloudflare.exe or frankenphp-windows-x86_64-with-dns.exe).

Additional Context
  • Cloudflare DNS module reference: https://caddyserver.com/docs/modules/dns.providers.cloudflare (github.com/caddy-dns/cloudflare)
  • Since cross-compiling or building custom CGO/Go binaries on Windows is a major pain point for developers compared to Linux, providing pre-built Windows executables with DNS support would greatly improve the DX on Windows.

Thank you for your work on FrankenPHP!

Ngôn ngữ chính
Go
Star
11.4k
Fork
494
Merge trung bình
2 ngày 1 giờ
Pull request đã merge (30 ngày)
25

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của php/frankenphp

Tất cả issue của php/frankenphp

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.