Trellis should install latest PHP 7.x
(currently 7.4.x
). The sury
/ondrej
PPA repository is used for up-to-date PHP packages (https://deb.sury.org/).
The php_version
variable was recently introduced that allows easy global toggling of PHP version in Trellis.
- What is the actual distribution running in the vagrant box? (ssh into it and use
lsb_release -a
).
It must not be above20.04
as this may be the reason for why there aren’t any PHP packages in the PPA (currently) for that distribution. I had this issue recently, see this thread:
Deb.sury.org or groovy-updates,groovy-security? - What value does the
php_version
have in your Trellis project?