Skip to content

maint: move to PHP 8.4, Apache 2.4.68 馃崚 - #211

Merged
mcdurdin merged 1 commit into
stagingfrom
maint/cherry-pick/php-84
Sep 10, 2026
Merged

maint: move to PHP 8.4, Apache 2.4.68 馃崚#211
mcdurdin merged 1 commit into
stagingfrom
maint/cherry-pick/php-84

Conversation

@mcdurdin

@mcdurdin mcdurdin commented Sep 9, 2026

Copy link
Copy Markdown
Member

Detail in keymanapp/keyman.com#828.

Changes required:

  • move from PHP 7.4 to PHP 8.4 Docker image (upgrades Debian, Apache, PHP as major components)
  • dependency upgrades forced for phpunit
  • addition of BCTLS flag to .htaccess mod_rewrite rules (https://stackoverflow.com/q/75684314/1836776)

Cherry-pick-of: #210
See-also: keymanapp/keyman.com#828
See-also: keymanapp/s.keyman.com#1712
Relates-to: #209
Test-bot: skip

Detail in keymanapp/keyman.com#828.

Changes required:
* move from PHP 7.4 to PHP 8.4 Docker image (upgrades Debian, Apache,
  PHP as major components)
* dependency upgrades forced for phpunit
* addition of BCTLS flag to .htaccess mod_rewrite rules
  (https://stackoverflow.com/q/75684314/1836776)

See-also: keymanapp/keyman.com#828
See-also: keymanapp/s.keyman.com#1712
Relates-to: #209
Test-bot: skip
@keymanapp-test-bot

Copy link
Copy Markdown

User Test Results

Test specification and instructions

User tests are not required

@keymanapp-test-bot keymanapp-test-bot Bot added this to the B19S1 milestone Sep 9, 2026
@mcdurdin
mcdurdin marked this pull request as ready for review September 10, 2026 07:03
@mcdurdin
mcdurdin requested a review from tim-eves September 10, 2026 07:03
Comment thread .htaccess
# Keymanweb.com 2.0 rewrite rules for Keymanweb.com 1.0 /go/lang/kbd urls

# Rewrite /go/lang/kbd/app[?...] to /?kmwlang=lang,kmwkbd=kbd
RewriteRule "^go/([^/]+)/([^/]+)/([^?]+)(\?)?(.+)?$" "/index.php?kmwlang=$1&kmwkbd=Keyboard_$2&$5"

@mcdurdin mcdurdin Sep 10, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This rule is not actually correct - the query string does not get matched in the left hand part of the rule so everything from (\?)? onwards there is nonsense.

[BCTLS] technically not needed either because we only allow 'safe' chars in lang and kbd ids, but it doesn't hurt.

For future follow-up (see #212)

@mcdurdin
mcdurdin merged commit 48e272c into staging Sep 10, 2026
6 checks passed
@mcdurdin
mcdurdin deleted the maint/cherry-pick/php-84 branch September 10, 2026 07:07
@github-project-automation github-project-automation Bot moved this from Todo to Done in Keyman Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants