Skip to content

Fix FRANKENPHP_CONFIG environment variable typo in FrankenPHP Dockerfile - #702

Merged
jaydrogers merged 2 commits into
serversideup:release/webserver-improvements-and-fixesfrom
Abdulmajeed-Jamaan:fix-env-typo
Sep 10, 2026
Merged

Fix FRANKENPHP_CONFIG environment variable typo in FrankenPHP Dockerfile#702
jaydrogers merged 2 commits into
serversideup:release/webserver-improvements-and-fixesfrom
Abdulmajeed-Jamaan:fix-env-typo

Conversation

@Abdulmajeed-Jamaan

Copy link
Copy Markdown

What this does

Renames the FRANKEN_PHP_CONFIG ENV in src/variations/frankenphp/Dockerfile to FRANKENPHP_CONFIG.

Why

The Dockerfile declares the default as FRANKEN_PHP_CONFIG="", but everything else in the project uses FRANKENPHP_CONFIG:

The typo was introduced in #527 when the default Caddyfile was added. Setting FRANKENPHP_CONFIG at runtime already works because Caddy reads it directly from the environment, so this only corrects the declared default in the image and removes a misleading, unused variable from docker inspect output.

Scope

One-line change. No behavior change for users who already set FRANKENPHP_CONFIG themselves.

The Dockerfile declared FRANKEN_PHP_CONFIG, but the Caddyfile and the
docs reference FRANKENPHP_CONFIG. Rename the ENV so the default matches
the variable Caddy actually reads.
@jaydrogers
jaydrogers changed the base branch from main to release/webserver-improvements-and-fixes September 10, 2026 18:28
@jaydrogers

Copy link
Copy Markdown
Member

Good catch, thanks!

@jaydrogers
jaydrogers merged commit 06a660a into serversideup:release/webserver-improvements-and-fixes Sep 10, 2026
@Abdulmajeed-Jamaan
Abdulmajeed-Jamaan deleted the fix-env-typo branch September 10, 2026 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants