Skip to content

PHP CLI versions and DDEV usage #26

@AlanJIsaacson

Description

@AlanJIsaacson

We are now moving to using ddev as a local development environment which negates the need for running varying versions of PHP on the CLI.

By default we now install the latest version PHP 8.4, however many of our projects running ddev are running various versions prior to this (5.6 - 8.3).

Currently when we deploy we are now deploying using ddev eg
ddev exec ./vendor/bin/dep deploy staging --branch=my-new-branch

This command runs but in our build summary it displays as
"deployedBy":"DDEV User(nobody@example.com)"
rather than the correct GitHub user.

If deploying via the CLI and not using DDEV it gives lots of deprecation errors due to the version of deployer not supporting that version of PHP. We may be able to run Deployer via DDEV and pass through the information as a DDEV variable?

Full error mesage available in Slack
https://studio24.slack.com/archives/C0TB326BF/p1748529312076299?thread_ts=1748514919.539399&cid=C0TB326BF

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions