v3.0.0-beta4
Pre-release
Pre-release
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 aswww-data
to improve security, users experience, and compatibility with other hosts/orchestrators - FPM-NGINX, FPM-Apache, & Unit now listen on
8080
and8443
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 toUSER www-data
(Learn more about file permissions) - The syntax for
docker-php-serversideup-set-id
has changed touid: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
- Change execution to be unprivileged by @jaydrogers in #311
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