Skip to content

ARM-based MacOS images don't have PHP #12338

Closed
@Sainan

Description

@Sainan

Description

If I understand correctly from the latest image updates (#12197, #12252), PHP should be pre-installed, yet in practice, this is not the case, erroring with php: command not found: https://github.com/calamity-inc/Soup/actions/runs/15517116888/job/43685508319

This has also been observed here, in the workflow step I am using to otherwise sidestep this issue: https://github.com/shivammathur/setup-php?tab=readme-ov-file#github-hosted-runners

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

2.325.0, https://github.com/calamity-inc/Soup/actions/runs/15517116888/job/43685508319

Is it regression?

Yesn't? It works on Intel-based MacOS images, but it never worked on ARM-based ones.

Expected behavior

This template is crap.

Actual behavior

Repro steps

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions