debops / debops/debops

php install and manage multiple versions

Open
#2,386 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jinja
Stars
1.4k
Forks
379
Avg merge
4d 18h
Merged PRs (30d)
8

Description

In https://docs.debops.org/en/master/ansible/roles/php/getting-started.html

is written:

The debops.php role supports management of multiple PHP versions; only one PHP version can be managed at a time.

Does this mean: it can manage different versions or does it mean it's supporting different versions installed at the same time?

We want to achieve multiple running php-versions side by side (8.0, 8.1, 8.2). Is this possible on principle? If had the following list:

php__version_preference: [ 'php8.2', 'php8.1', 'php8.0', 'php7.4' ]

and set

php__reset: True

it does remove all php versions prior to php8.2. If I have set php__reset to False and e.g. php8.0 and php7.4 is installed nothing happend at all.

I guess: the role doesn't support this and the "management of multiple PHP versions" means: you can manage "any" php version but not multiple side by side. Is this right?

Is there any way to achieve a server with multiple php-versions running parallel?

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 with the linked debops.php getting-started documentation and inspect how php__version_preference and php__reset are handled. Verify whether multiple PHP versions can run side by side, using the reported 8.0, 8.1, 8.2, and 7.4 configuration as the case to check. Done means the documentation clearly explains the supported behavior and any configuration limitations.

Written by the indexing model from the issue text.

Assessment

Tech stack
ansible, php
Domain
devops, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.