From 4c0d7fc1caf0d0cabbc5b5e356f5b67fab96b89b Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Tue, 23 Jun 2026 16:11:17 +1200 Subject: [PATCH] FIX Explicitly add php ppa --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cef6ff5..06285d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -268,7 +268,10 @@ jobs: AWS_DEFAULT_REGION: ap-southeast-2 run: | if [[ "${{ matrix.endtoend }}" == "true" ]]; then - # ppa:ondrej/php appears to be already added, though ppa:ondrej/apache2 is not + # Neither ppa:ondrej/php nor ppa:ondrej/apache2 are added by default. + # ppa:ondrej/php must be added explicitly - while shivammathur/setup-php installs the PHP CLI, + # it does not leave the PPA registered in apt sources, which is needed for libapache2-mod-php below. + sudo add-apt-repository -y ppa:ondrej/php sudo add-apt-repository -y ppa:ondrej/apache2 # Run apt update allowing for a change in the "Label" field which has happened at least once after the