Install multiple PHP versions on the same system #736
Replies: 2 comments 1 reply
-
There is
(this is documented behavior.) There is also This rudimentary setup takes roughly 5 minutes running on |
Beta Was this translation helpful? Give feedback.
-
GitHub Actions has no syntax to loop matrix variable for a single action and setup-php does not support installing multiple PHP versions in a single run. You can run setup-php as one step after the other with different PHP versions in a workflow or use spc in a for loop. |
Beta Was this translation helpful? Give feedback.
-
I'd like to run a matrix build against multiple PHP versions on the same virtual machine.
For example, the commands are named
php7.4
,php8.0
,php8.1
andphp8.2
as when running onubuntu 20.04
just onubuntu 22.04
or onubuntu 20.04
for the other php commands namedphp5.3
,php5.4
,php5.5
,php5.6
,php7.0
,php7.1
,php7.2
, andphp7.3
.Is there a way to use
shivammathur/setup-php
this way?Beta Was this translation helpful? Give feedback.
All reactions