PHP
Ansible role for installing php-fpm
from the distro repos for Debian Bullseye
(PHP 7.4), Ubuntu Focal (PHP 7.4), Debian Buster (PHP 7.3), Ubuntu Bionic (PHP
7.2) and Debian Stretch (PHP 7.0).
See the default variables.
This role isn't setup to generate multiple pool.d
config files, but the
users role
is.
Note that after upgrading from one Debian or Ubuntu version to another you will
have to manually purge the packages from the old version of PHP — this
role is set to fail if phpquery -V
returns more than one version of PHP.
In June 2021 this role was renamed from phpfpm
to php
and the URL of the
git repo and all the variable names and tags have been updated to match.