From 9d22c67bcbc5748dc33e5b66409c38fc57f17bed Mon Sep 17 00:00:00 2001 From: alexmerlin Date: Thu, 21 Nov 2024 12:27:52 +0200 Subject: [PATCH] Removed PHP <8.1 from recipes Signed-off-by: alexmerlin --- wsl/os/almalinux9/FAQ.md | 4 +--- wsl/os/ubuntu20/roles/php/tasks/php74.yml | 17 ----------------- wsl/os/ubuntu20/roles/php/vars/main.yml | 1 - 3 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 wsl/os/ubuntu20/roles/php/tasks/php74.yml diff --git a/wsl/os/almalinux9/FAQ.md b/wsl/os/almalinux9/FAQ.md index b167e96..35eefc0 100644 --- a/wsl/os/almalinux9/FAQ.md +++ b/wsl/os/almalinux9/FAQ.md @@ -8,13 +8,11 @@ Execute the following command: sudo dnf module switch-to php:remi-{major}.{minor} -y ``` -where `{major}.{minor}` is one of the supported PHP versions: `8.4`, `8.3`, `8.2`, `8.1`, `8.0` and `7.4`. +where `{major}.{minor}` is one of the supported PHP versions: `8.4`, `8.3`, `8.2` and `8.1`. Additionally, our setup includes predefined aliases for executing the above command. The aliases are the following: -- `php74`: switch to PHP 7.4 -- `php80`: switch to PHP 8.0 - `php81`: switch to PHP 8.1 - `php82`: switch to PHP 8.2 - `php83`: switch to PHP 8.3 diff --git a/wsl/os/ubuntu20/roles/php/tasks/php74.yml b/wsl/os/ubuntu20/roles/php/tasks/php74.yml deleted file mode 100644 index 83326dd..0000000 --- a/wsl/os/ubuntu20/roles/php/tasks/php74.yml +++ /dev/null @@ -1,17 +0,0 @@ ---- -- name: Install PHP 7.4 - apt: - name: - - php7.4 - - php7.4-common - - php7.4-bz2 - - php7.4-cli - - php7.4-curl - - php7.4-intl - - php7.4-json - - php7.4-mbstring - - php7.4-mysql - - php7.4-xml - - php7.4-zip - - libapache2-mod-php7.4 - state: present diff --git a/wsl/os/ubuntu20/roles/php/vars/main.yml b/wsl/os/ubuntu20/roles/php/vars/main.yml index ccd81ff..70bc99a 100644 --- a/wsl/os/ubuntu20/roles/php/vars/main.yml +++ b/wsl/os/ubuntu20/roles/php/vars/main.yml @@ -1,7 +1,6 @@ --- php_info_filename: info.php php_versions: - - "74" - "81" - "82" - "84"