github serversideup/docker-php v3.0.0-beta4

latest releases: v4.3.3, v4.3.2, v4.3.1...
pre-release23 months ago

What's Changed

Caution

Even if you're not running these beta images, we strongly encourage you to prepare for the v3 release and reading our migration guide: https://serversideup.net/open-source/docker-php/docs/guide/migrating-from-v2-to-v3

This release contains the final breaking changes before a production release.

Background

In order to improve container security and compatibility, we have moved to running the containers as www-data by default.

⚠️ BREAKING CHANGES: How this affects you

  • Instead of running things as root by default, everything runs as www-data to improve security, users experience, and compatibility with other hosts/orchestrators
  • FPM-NGINX, FPM-Apache, & Unit now listen on 8080 and 8443 by default
  • If you're installing extensions or customizing the image, you'll likely need to run USER root then perform your action before dropping back to USER www-data (Learn more about file permissions)
  • The syntax for docker-php-serversideup-set-id has changed to uid:gid

Getting the images to accept requests on 80 and 443

Simply use Docker's port methods to forward correctly:

docker run --rm -e SSL_MODE=mixed -p 80:8080 -p 443:8443 serversideup/php:beta-8.3-fpm-nginx

What's changed

Read the migration guide

We've put together this migration guide and checklist: https://serversideup.net/open-source/docker-php/docs/guide/migrating-from-v2-to-v3

Full Changelog: v3.0.0-beta3...v3.0.0-beta4

Don't miss a new docker-php release

NewReleases is sending notifications on new releases.