Problem
#2331 will add examples/009-FastCGIWeb/ as the FastCGI integration fixture, but contributors lack a one-command scaffold like existing profiles:
Profile
Example
Init parity
miniwebapp
003
#632
sessionsweb
005
#1886
fileupload
006
#2004
throwsweb
007
—
selfhostprobe
008
#2220 ✅
fastcgiweb
009
missing
Presenters copying nginx + phpc deploy steps from #445 need a reproducible tree without hand-editing phpc.json.
Goal
templates/init-fastcgiweb/ mirroring Examples: 009-FastCGIWeb minimal fixture for phpc deploy + FastCGI adapter #2331 canonical layout (example.php, phpc.json, minimal public/)
./phpc init --profile fastcgiweb <dir> copies template
script/check-init-fastcgiweb-parity.sh (same pattern as check-init-selfhostprobe-parity.sh CLI: phpc init --profile selfhostprobe — scaffold examples/008-SelfHostProbe #2220 )
Optional INIT_FASTCGIWEB_PARITY_GATE in ci-fast.sh (default 0 until Examples: 009-FastCGIWeb minimal fixture for phpc deploy + FastCGI adapter #2331 lands)
Acceptance criteria
Verification (local / Docker only)
./phpc init --profile fastcgiweb /tmp/fcgi-test
./phpc lint /tmp/fcgi-test/example.php
./script/check-init-fastcgiweb-parity.sh
Harness:
./script/docker-exec.sh -- bash -lc ' source script/php-env.sh && ./phpc init --profile fastcgiweb /tmp/fcgi-test && ./phpc lint /tmp/fcgi-test/example.php'
Dependencies
Links
Problem
#2331 will add
examples/009-FastCGIWeb/as the FastCGI integration fixture, but contributors lack a one-command scaffold like existing profiles:miniwebappsessionswebfileuploadthrowswebselfhostprobefastcgiwebPresenters copying nginx +
phpc deploysteps from #445 need a reproducible tree without hand-editingphpc.json.Goal
templates/init-fastcgiweb/mirroring Examples: 009-FastCGIWeb minimal fixture for phpc deploy + FastCGI adapter #2331 canonical layout (example.php,phpc.json, minimalpublic/)./phpc init --profile fastcgiweb <dir>copies templatescript/check-init-fastcgiweb-parity.sh(same pattern ascheck-init-selfhostprobe-parity.shCLI: phpc init --profile selfhostprobe — scaffold examples/008-SelfHostProbe #2220)INIT_FASTCGIWEB_PARITY_GATEinci-fast.sh(default0until Examples: 009-FastCGIWeb minimal fixture for phpc deploy + FastCGI adapter #2331 lands)Acceptance criteria
./phpc init --profile fastcgiweb /tmp/fcgi && ./phpc lint /tmp/fcgi/example.phpgreendocs/phpc-json.mddocuments profileVerification (local / Docker only)
Harness:
./script/docker-exec.sh -- bash -lc 'source script/php-env.sh && ./phpc init --profile fastcgiweb /tmp/fcgi-test && ./phpc lint /tmp/fcgi-test/example.php'Dependencies
FASTCGI_SMOKE_GATEci-local wiring (follow-up)Links