From cb00d67380650bc2f30e7e3879f662fa76bcfc0b Mon Sep 17 00:00:00 2001 From: L0RD-ZER0 <68327382+L0RD-ZER0@users.noreply.github.com> Date: Wed, 26 Nov 2025 15:04:16 +0530 Subject: [PATCH] feat: php-fpm 8.5 support --- .github/workflows/test_and_build.yml | 2 +- img-versions.json | 1 + php/EE/Migration/Containers.php | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_and_build.yml b/.github/workflows/test_and_build.yml index dae8c244f..3057c075d 100644 --- a/.github/workflows/test_and_build.yml +++ b/.github/workflows/test_and_build.yml @@ -92,7 +92,7 @@ jobs: strategy: fail-fast: false matrix: - php: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4'] + php: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5'] steps: - name: Check out source code uses: actions/checkout@v3 diff --git a/img-versions.json b/img-versions.json index d0cafc83b..7ce534fba 100644 --- a/img-versions.json +++ b/img-versions.json @@ -15,6 +15,7 @@ "easyengine/php8.2": "v4.9.1", "easyengine/php8.3": "v4.9.1", "easyengine/php8.4": "v4.9.1", + "easyengine/php8.5": "v4.9.4", "easyengine/postfix": "v4.8.1", "easyengine/redis": "v4.9.1", "easyengine/newrelic-daemon": "v4.9.0" diff --git a/php/EE/Migration/Containers.php b/php/EE/Migration/Containers.php index 70101a0ca..b00b94918 100644 --- a/php/EE/Migration/Containers.php +++ b/php/EE/Migration/Containers.php @@ -39,6 +39,7 @@ public static function start_container_migration() { 'easyengine/php8.2', 'easyengine/php8.3', 'easyengine/php8.4', + 'easyengine/php8.5', 'easyengine/newrelic-daemon', ]; @@ -140,7 +141,7 @@ public static function update_docker_compose() { $fs = new Filesystem(); if ( ! $fs->exists( EE_BACKUP_DIR ) ) { $fs->mkdir( EE_BACKUP_DIR ); - } + } $fs->copy( $docker_compose_path, $docker_compose_backup_path ); EE::exec( "curl -L https://github.com/docker/compose/releases/download/v2.27.0/docker-compose-$(uname -s)-$(uname -m) -o $docker_compose_new_path && chmod +x $docker_compose_new_path" );