Repository navigation
website: the local stack now runs PHP 8.4.27 - #6
Merged
julesduroux merged 2 commits intoNov 1, 2026
Merged
Conversation
The altered-website resource builds the website repo's Dockerfile, which moved to php:8.4.27-apache; only the comments and the README said 7.4. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The dev config.local.php defined UNIQUES_API_URL twice. PHP 7.4 kept the first value and only raised a hidden notice; PHP 8 raises a warning, and on the local stack (display_errors on) that warning is printed before the headers, so every session_*() call of the page fails with "headers already sent" and the site is unusable. The second define never took effect, so it is removed: the value stays http://localhost:8005. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
julesduroux
approved these changes
Nov 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
alteredcore-website moves to PHP 8.4.27 (Altered-Community/alteredcore-website#158 for
main, #159 forpreprod): itsDockerfileis nowFROM php:8.4.27-apache. Thealtered-websiteresource builds that Dockerfile from the local website checkout, so the dev stack switches to PHP 8.4.27 on its own as soon as the checkout is on a branch that has it — no logic change is needed here.What changes
The README and two
apphost.cscomments said "PHP 7.4" /php:7.4-apache. The README now also says that the PHP version follows the website branch checked out locally (a checkout still on an older branch builds 7.4).website/config.local.php:UNIQUES_API_URLwas defined twice (http://localhost:8005, thenhttps://search.altered.re). PHP 7.4 kept the first and hid the notice; PHP 8 prints a warning before the headers, which breaks the sessions of every page on the local stack. The second define never took effect and is removed — the effective value is unchanged.Verification
Loading the dev config under
php:8.4.27-cliandphp:7.4-cli: no warning,UNIQUES_API_URL=http://localhost:8005on both (8.4 warned before). Local Aspire stack on the website'schore/php-8.4:/, news, cards, decks, deckbuilder, login → 200 with no PHP warning,X-Powered-By: PHP/8.4.27.dotnet build apphost.cspasses (same 3 pre-existing warnings); theapphost.csdiff touches comments only.🤖 Generated with Claude Code