Installing different PHP versions

Is it possible to change the PHP version in a container from the command line? I need to test a site on PHP5.4 and would prefer do it in Local rather than having to set up a whole separate test environment.


Also curious about this. Iā€™d like to install PHP 7.1.2. Anyone had success installing new versions of PHP for Local?

1 Like