Skip to content

Add PHP 8.5 and update php-fpm images to 0.161 - #18

Open
fibis wants to merge 1 commit into
devilbox-community:mainlinefrom
fibis:php-8.5
Open

fibis wants to merge 1 commit into
devilbox-community:mainlinefrom
fibis:php-8.5

Conversation

@fibis

@fibis fibis commented Oct 29, 2026

Copy link
Copy Markdown

Adds PHP 8.5 to the stack and moves the php-fpm images to 0.161, which ships PHP 8.4.27 / 8.5.12 with current extensions. Refs #12, #17.

Depends on devilbox-community/docker-php-fpm#2. The *-0.161 images have to be published to Docker Hub before this PR is merged.

Changes

  • docker-compose.yml: devilboxcommunity/php-fpm:${PHP_SERVER}-work-0.161
  • env-example: #PHP_SERVER=8.5, and php85 in CONTAINERS_CONFIG_OPTIONAL. The default PHP_SERVER is unchanged.
  • cfg/php-{ini,fpm,startup}-8.5/ and log/php-fpm-8.5/ are copies of the tracked 8.4 files.
  • cfg/php-ini-8.5/devilbox-php.ini-performance: opcache.file_cache = /tmp instead of 1. PHP 8.5 always loads OPcache and refuses to start with the old value (php-fpm -t exits 254 on 8.5 but passes on 8.4).
  • dvl.sh:
    • php85 added to DEFAULT_DVL_CONTAINERS, and the version prompt accepts 8.5/85.
    • The dvl up fallback now uses DEFAULT_DVL_CONTAINERS; the old hard-coded list was missing php84.
    • The CheckPhpContainerFlavor fallback tag goes from 0.155 to 0.161.
  • compose/docker-compose.override.yml-magento2: php74–php84 move to -slim-0.161, plus a new php85 service at 172.16.238.214.
  • .gitignore: 8.5 entries, and a typo fix: cfg/php-ini-8.4/*.conf is now cfg/php-fpm-8.4/*.conf.
  • The CI matrix (params-php.yml), the framework test skip lists, tests/test-install-sh.sh, the README version lists, the docs and the CHANGELOG are updated.

Verification

  • With PHP_SERVER=8.5, docker compose config resolves the php service to devilboxcommunity/php-fpm:8.5-work-0.161. That image was built locally from the php-fpm PR and passes its full tests/test.sh suite.
  • bash -n passes on the changed scripts, and tests/test-install-sh.sh passes.

After merge

  • The README extension and tool tables come from .tests/scripts/get-modules.sh, which reads doc/*.md from the published php-fpm tag. Run cd .tests && make update-readme once 0.161 is tagged. Until then the lint workflow's README check will flag the new 8.5 column.
  • php85 joins the default container list the same way php84 did, so a fresh install or dvl up without DEVILBOX_CONTAINERS also pulls the 8.5 image.

- docker-compose: devilboxcommunity/php-fpm:*-work-0.161
- env-example, dvl.sh, install defaults, magento2 override: add 8.5 / php85
- cfg/php-{ini,fpm,startup}-8.5 and log/php-fpm-8.5 (copied from 8.4)
- cfg/php-ini-8.5 performance example: opcache.file_cache = /tmp
  (PHP 8.5 always loads OPcache and fails to start on "1")
- dvl.sh: `dvl up` fallback uses DEFAULT_DVL_CONTAINERS (was missing php84),
  CheckPhpContainerFlavor fallback tag 0.155 -> 0.161
- .gitignore: add 8.5 entries, fix php-ini-8.4/*.conf -> php-fpm-8.4/*.conf
- CI matrix, test skip lists, README/docs version lists, CHANGELOG

This branch has not been deployed

No deployments
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