This document shows which version of Nextcloud supported which version(s) of PHP, with which version of PHPUnit.
Given that Nextcloud supports the following PHP versions:
Nextcloud | EOL | 7.1 | 7.2 | 7.3 | 7.4 | 8.0 | 8.1 |
---|---|---|---|---|---|---|---|
23 |
2022-12 | ✅ | ✅ | ✔ | |||
22 |
2022-07 | ✅ | ✅ | ✔ | |||
21 |
2022-02 | ✅ | ✅ | ✔ | |||
20 |
2021-10 | ✅ | ✔ | ✔ |
And PHPUnit supports the following PHP versions:
PHPUnit | EOL | 7.1 | 7.2 | 7.3 | 7.4 | 8.0 | 8.1 |
---|---|---|---|---|---|---|---|
v9.5 |
2022 | ✔ | ✔ | ✔ | |||
v8.5 |
2021 | ✔ | ✔ | ✔ | |||
v7.5 |
2020 | ✔ | ✔ |
Then Nextcloud version dictate these use of the following PHPUnit versions:
Nextcloud | 7 | 8 | 9 |
---|---|---|---|
23 |
✅ | ✔ | |
22 |
✅ | ✅ | ✔ |
21 |
✅ | ✅ | ✔ |
20 |
✅ | ✔ | ✔ |
✅ = supported ✔ = recommended
The graphs below show the distribution of the use of Nextcloud and PHP version, respectively. (Both graphs run from July 2019 to November 2021)
- https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule
- https://docs.nextcloud.com/server/20/admin_manual/installation/system_requirements.html
- https://docs.nextcloud.com/server/21/admin_manual/installation/system_requirements.html
- https://docs.nextcloud.com/server/22/admin_manual/installation/system_requirements.html
- https://github.com/nextcloud/server/blob/stable23/lib/versioncheck.php
- https://github.com/nextcloud/server/blob/master/lib/versioncheck.php
- https://ncpw.mdns.eu/