Skip to content

fix(docker): Downgrade PHP from 8.5 to 8.3 for stable extension builds#30

Merged
chrisns merged 1 commit into
mainfrom
fix/php-version-83
Jan 13, 2026
Merged

fix(docker): Downgrade PHP from 8.5 to 8.3 for stable extension builds#30
chrisns merged 1 commit into
mainfrom
fix/php-version-83

Conversation

@chrisns
Copy link
Copy Markdown
Member

@chrisns chrisns commented Jan 13, 2026

Summary

Fixes the Docker container build failure caused by PHP 8.5.

Problem

PR #23 (dependabot) bumped PHP from 8.2 to 8.5-fpm-alpine. PHP 8.5 is not officially released and causes docker-php-ext-install to fail:

cp: can't stat 'modules/*': No such file or directory
make: *** [Makefile:89: install-modules] Error 1

Solution

Downgrade to PHP 8.3-fpm-alpine, which is the current stable LTS release.

Test plan

  • CI Docker build should pass

@chrisns chrisns force-pushed the fix/php-version-83 branch from cad5d6c to 9235ec6 Compare January 13, 2026 13:41
PHP 8.5 is not officially released and causes docker-php-ext-install
to fail with "cp: can't stat 'modules/*'" error.

Changes:
- Revert to PHP 8.3-fpm-alpine (current stable LTS)
- Add pull_request trigger to docker-build workflow
- Use dorny/paths-filter to skip build when no Docker files changed
- Workflow can now be set as a required check (always runs, skips gracefully)
@chrisns chrisns force-pushed the fix/php-version-83 branch from 9235ec6 to 5992dd9 Compare January 13, 2026 13:43
@chrisns chrisns enabled auto-merge (squash) January 13, 2026 13:48
@chrisns chrisns merged commit baef5d1 into main Jan 13, 2026
7 checks passed
@chrisns chrisns deleted the fix/php-version-83 branch January 13, 2026 13:50
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