PHP


You're going to need different versions

Totara Learning Solutions continues to support many versions of Totara Learn.
As such developers will need to be able to run, develop against, and test under multiple versions of PHP.

How you achieve this is up to you, and your decision will likely be based around your operating system of choice, and how comfortable you are with the different options out there.
Developers within the office already take a number of approaches, including using PHP-fpm and running on different ports, and docker.


What you'll need

The following table outlines the min and max supported versions of PHP for each version of Totara. From Totara 13 onwards the range of supported PHP versions can be found in the readme.md file in the source code.

ProductMin PHPMax PHP
TXP 187.4.38.1.x
TXP 177.4.38.1.x
TXP 167.3.48.0.x
TXP 157.3.48.0.x
TXP 147.3.48.0.x
TXP 137.2.97.4.x

Totara Learn 12

7.1.87.3
Totara Learn 117.1.87.3
Totara Learn 105.6.57.3
Totara Learn 95.5.97.0

Totara Learn 2.9

5.4.45.6
Totara Learn 2.75.4.45.6
Totara Learn 2.65.3.35.6
Totara Learn 2.55.3.35.6
Totara Learn 2.45.3.25.6
Totara Learn 2.25.3.25.6
Totara Learn 1.15.1.65.6
Totara Learn 1.05.1.65.6