docker-library / docker-library/php

[PHP 8.6] switch the default from NTS to ZTS

Open
#1,673 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dockerfile
Stars
4k
Forks
2k
Avg merge
5d 21h
Merged PRs (30d)
1

Description

Hello php-docker team,

I'm currently in the process of creating a RFC to deprecate building the NTS flavour for PHP 8.6 and removing NTS entirely in PHP 9.0. It appears that all maintainers I've been talking to are generally in favour to save on CI and source maintenance.

@TimWolla suggested I raise this here and see if you're willing to switch the defaults to ZTS already (with a -nts option available, like there is currently -zts).

Happy to answer all and any questions you have.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the PHP image build configuration that controls the NTS and ZTS variants, then compare the existing -zts option with the requested -nts option. Confirm the PHP 8.6 RFC direction with the maintainers before changing defaults. Done means ZTS is the default and NTS remains available through -nts.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, php
Domain
build-system, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.