Skip to content

fix(php): Add Sury backports to PHP 7.3 Apache image - #10

Merged
wilcorrea merged 4 commits into
mainfrom
fix/php73-sury-security-backport
Oct 23, 2026
Merged

wilcorrea merged 4 commits into
mainfrom
fix/php73-sury-security-backport

Conversation

@wilcorrea

@wilcorrea wilcorrea commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Adds devitools/php-apache:7.3 as a compatibility replacement for webdevops/php-apache:7.3, applying Sury's backport for CVE-2026-109618 and CVE-2026-109619 plus its multipart-limit and string-length prerequisites.

The existing image runs a source-built PHP under /usr/local; installing Sury binary packages alongside it would not update FPM. This change extracts the three unmodified patches from a checksum-pinned Sury revision 35 source package, rebuilds CLI/FPM, sodium and OPcache using the original configure/compiler flags, and retains the pinned WebDevOps runtime, entrypoint, configuration paths, user, environment handling and other extensions. The patched source archive and headers also support downstream extension builds. Upload progress is disabled following the October 23 PHP advisory.

The existing publication workflow will build the new amd64 tag after merge. A dedicated PR workflow builds the image and tests extension parity, normal Apache/FPM startup, HTTP, multipart upload, mounted INI configuration, environment settings, PHP_DISMOD, and immediate OOM exit with FPM recovery.

Validation: native linux/amd64 CI build and all compatibility/security smoke tests passed: https://github.com/devitools/dockerfile/actions/runs/39950711085. This includes exact CLI extension parity and matching FPM extensions (including its SAPI-specific cgi-fcgi module), Apache/FPM syntax and startup, HTTP, multipart upload, custom document root, mounted INI, PHP environment values, PHP_DISMOD, immediate CLI/FPM OOM exit without shutdown callbacks, and HTTP recovery after worker exit. Manifest validation, shell/Python syntax and diff checks also passed.

Scope: only the three named Sury patches are applied, not every fix in the full Sury package. PHP 7.3, Debian Buster and inherited third-party extension versions remain end of life. Encoded ionCube applications and application-specific compatibility still need staging validation. No containers are deployed by this PR.

@coderabbitai

coderabbitai Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 19 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 02d037dd-1ab1-4410-8644-d70fd0f19486
📥 Commits

Reviewing files that changed from the base of the PR and between 7f689ec and f170d79.

📒 Files selected for processing: 8
  • .github/workflows/php73-sury.yml
  • README.md
  • php-apache/7.3/.scripts/build-php.sh
  • php-apache/7.3/.scripts/smoke.py
  • php-apache/7.3/.scripts/verify.php
  • php-apache/7.3/Dockerfile
  • php-apache/7.3/README.md
  • php-apache/7.3/variants.yaml
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@wilcorrea
wilcorrea marked this pull request as ready for review October 23, 2026 12:13
@wilcorrea
wilcorrea merged commit 06c4c7a into main Oct 23, 2026
3 checks passed
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.

1 participant