Skip to content

fix(php): Add patched php-nginx 7.0 image - #19

Open
wilcorrea wants to merge 2 commits into
mainfrom
fix/php-nginx-70-security
Open

wilcorrea wants to merge 2 commits into
mainfrom
fix/php-nginx-70-security

Conversation

@wilcorrea

@wilcorrea wilcorrea commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Adds devitools/php-nginx:7.0 as a compatible replacement for webdevops/php-nginx:7.0, applying the Sury source backport for CVE-2026-109618 and CVE-2026-109619 with its version-specific prerequisites.

The digest-pinned WebDevOps image retains its entrypoint, web server, FPM paths, environment handling and extension binaries. CLI/FPM, OPcache and configured shared modules are rebuilt with the original flags; patched headers and source are provided for downstream extensions. Source archives are checksum-verified and patch provenance is retained in the image. Upload progress is disabled following the October 23 PHP advisory.

A dedicated native amd64 workflow builds the image and verifies extension parity, normal startup, HTTP, multipart upload, configuration mounts, environment values, PHP_DISMOD, OOM callback suppression and subsequent HTTP availability. Local patch application, shell/Python syntax and diff checks passed. The native linux/amd64 image build and full compatibility/security smoke test passed: https://github.com/devitools/dockerfile/actions/runs/39959710605. Manifest validation also passed.

This PR is independent of the other compatibility images. Merging it triggers the existing publishing workflow for exactly devitools/php-nginx:7.0. It does not deploy application containers. Only the documented security patches and prerequisites are applied; unrelated Sury fixes are outside this change, and PHP remains end of life and inherited third-party extensions are not upgraded. Encoded applications and application-specific behavior still need staging validation.

@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 55 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: e7124894-cdb8-41b4-8c4f-cff5c49bc4de
📥 Commits

Reviewing files that changed from the base of the PR and between 06c4c7a and 38bb5f8.

📒 Files selected for processing: 9
  • .github/workflows/php-nginx-70-security.yml
  • php-nginx/7.0/.scripts/apply-patches.sh
  • php-nginx/7.0/.scripts/build-php.sh
  • php-nginx/7.0/.scripts/patches.list
  • php-nginx/7.0/.scripts/smoke.py
  • php-nginx/7.0/.scripts/verify.php
  • php-nginx/7.0/Dockerfile
  • php-nginx/7.0/README.md
  • php-nginx/7.0/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 13:23
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