Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add `docker-php-ext-disable`

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker, php
Domain
devops, tooling

Research direction

Start by locating the docker-php-ext-enable script and inspect how it finds and writes extension ini files. Implement either a docker-php-ext-disable command or a --disable mode, ensuring disabling renames the ini file with a -disabled suffix and re-enabling restores it when present or creates it otherwise.

Written by the indexing model from the issue text.

Description

Request

This is a feature request to add easy way to disable php ext.

I propose to add docker-php-ext-disable, but adding a switch --disable to current docker-php-ext-enable script will solve this issue as well.

The expected behaviour of disabling an ext is to rename the ini file to something like .ini-disabled and when enabling back, check if such ini file exists, if yes, strip the -disabled suffix, if no, create a new ini file.

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

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.

More from docker-library/php

All issues in docker-library/php

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.