feat: PHP 8.6 for cac and cac-fpm (per-family version lists) #46

Merged
jknapp merged 2 commits from feat/php86-cac-cac-fpm into trunk 2026-11-19 19:38:18 +00:00
Owner

Adds PHP 8.6 (Remi EL10 php:remi-8.6) to the standard cac and cac-fpm images ONLY. No lsphp86 exists, so cac-litespeed / cac-lsphp are unchanged.

  • scripts/install-php86.sh: install-php85 minus php-pecl-geoip (no 8.6 build); set -e plus extension assertion.
  • .gitea/scripts/plan-legs.sh: per-family version lists (cac, cac-fpm: 82-86; litespeed, lsphp: 82-85). cac-lsphp:php86 / cac-litespeed:php86 are rejected. Trunk pushes cannot build litespeed/lsphp php86.
  • Tests updated deliberately: new tag php86 only; :latest stays on php85.
  • ini: one shared prod-php.ini; 8.5 hardening (use_strict_mode=0 parity, exception_ignore_args, upload_progress off) applies unchanged to 8.6. 8.6's stricter session defaults are overridden for parity.
  • EXPECT_PHP_MIN gate resolves 8.6 from php.net JSON (8.6) generically.
  • Merge with [skip ci]; images are built by dispatch (only=cac:php86, then only=cac-fpm:php86).

(lsphp-abi-gate/lsphp-info-probe shell tests fail locally on base too: missing tools.)

🤖 Generated with Claude Code

https://claude.ai/code/session_0185ukXi4YX5FxJGqhi6qab6

Adds PHP 8.6 (Remi EL10 `php:remi-8.6`) to the standard `cac` and `cac-fpm` images ONLY. No lsphp86 exists, so cac-litespeed / cac-lsphp are unchanged. - `scripts/install-php86.sh`: install-php85 minus `php-pecl-geoip` (no 8.6 build); set -e plus extension assertion. - `.gitea/scripts/plan-legs.sh`: per-family version lists (cac, cac-fpm: 82-86; litespeed, lsphp: 82-85). `cac-lsphp:php86` / `cac-litespeed:php86` are rejected. Trunk pushes cannot build litespeed/lsphp php86. - Tests updated deliberately: new tag `php86` only; `:latest` stays on php85. - ini: one shared prod-php.ini; 8.5 hardening (use_strict_mode=0 parity, exception_ignore_args, upload_progress off) applies unchanged to 8.6. 8.6's stricter session defaults are overridden for parity. - EXPECT_PHP_MIN gate resolves 8.6 from php.net JSON (`8.6`) generically. - Merge with `[skip ci]`; images are built by dispatch (`only=cac:php86`, then `only=cac-fpm:php86`). (lsphp-abi-gate/lsphp-info-probe shell tests fail locally on base too: missing tools.) 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_0185ukXi4YX5FxJGqhi6qab6
jknapp added 1 commit 2026-11-19 19:32:35 +00:00
install-php86.sh = install-php85.sh minus php-pecl-geoip (no 8.6 build), fail-loud with
extension assertion. plan-legs.sh: per-family lists so cac/cac-fpm get 82-86 while
cac-litespeed/cac-lsphp stay 82-85 (no lsphp86). :latest stays on php85. ini files are
shared (single prod-php.ini), so 8.5 hardening incl. session.use_strict_mode=0 applies unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0185ukXi4YX5FxJGqhi6qab6
jknapp added 1 commit 2026-11-19 19:37:58 +00:00
jknapp merged commit a43a755b9d into trunk 2026-11-19 19:38:18 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cloud-hosting-platform/cloud-apache-container#46