Repository navigation
fix(php): keep PHP 8.6's session defaults in php86.zip - #542
Merged
mrrobot47 merged 1 commit intoNov 21, 2026
Merged
Conversation
PHP 8.6 turns on session.use_strict_mode and session.cookie_httponly by default. php86.zip's php.ini is the 8.5 copy, which sets them back to 0 and empty, so a site moved to 8.6 with `ee site update --php=8.6` only got the new SameSite=Lax default. Set both to 1, matching the 8.6 image's php.ini (EasyEngine/dockerfiles#393). Only those two lines of php/php.ini change; every other entry, the entry order and the modes are as before.
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters: 1
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including
|
mrrobot47
added a commit
to EasyEngine/easyengine
that referenced
this pull request
Nov 21, 2026
v3.10.1 keeps PHP 8.6's session defaults (session.use_strict_mode and session.cookie_httponly on) in php86.zip, which `ee site update --php=8.6` writes (EasyEngine/site-command#542).
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.
What
templates/config/php-fpm/php86.zipis whatee site update --php=8.6writes into a site's php config volume. Itsphp/php.iniis the 8.5 copy, which setssession.use_strict_mode = 0andsession.cookie_httponly =(off). PHP 8.6 turns both on by default (built-in defaults and both shippedphp.initemplates), so a site moved to 8.6 only got the newsession.cookie_samesite=Laxdefault.This sets both to
1, the same change as EasyEngine/dockerfiles#393 makes in the 8.6 image'sphp.ini, so a new 8.6 site and a site moved to 8.6 get the same session settings.session.cookie_samesitestays unset (PHP'sLax). The 8.5 and older zips are unchanged.The zip
Only the
php/php.inientry was replaced (zip -Xon a copy of the old archive):zipinfodiffers only in that entry's size (70554 → 70556), CRC and mtime;diff -rof the extracted old and new trees: exactly the two linesphp/php.iniis byte-identical tophp/8.6/php.iniin dockerfiles#393;unzip -tOK.