roles/php-fpm: add support for PHP 8.2

This is used in Debian 12.
This commit is contained in:
2023-08-23 20:56:35 +03:00
parent 8f50b7756b
commit d3bf3dab04
5 changed files with 2537 additions and 0 deletions

View File

@ -1,6 +1,7 @@
---
# Ubuntu 20.04 uses PHP 7.4
# Debian 11 uses PHP 7.4
# Debian 12 uses PHP 8.2
# If any of the vhosts on this host need WordPress then we need to install PHP.
# This uses selectattr to filter the list of dicts in nginx_vhosts, selecting
@ -41,4 +42,12 @@
- install_php == true
tags: php-fpm
- name: Configure php-fpm on Debian 12
ansible.builtin.include_tasks: Debian_12.yml
when:
- ansible_distribution == 'Debian'
- ansible_distribution_major_version is version('12', '==')
- install_php == true
tags: php-fpm
# vim: set ts=2 sw=2: