How to set minimum requirements in Tiki
This page is to document how/where to set minimum requirements in Tiki.
The following files need to be updated:
| File | Description |
| setup.sh | Update the constant REQUIRED_PHP_VERSION used in composer |
| doc/devtools/etc/update/software-versions-required.txt | Update min and max values for PHP and Tiki versions |
| lib/core/Tiki/Package/ComposerCli.php | Update the value for PHP_MIN_VERSION constant |
| tiki-check.php | Add or update different warning messages for different PHP versions, search for the usage of PHP_VERSION constant |
| tiki-install.php | Update the check that PHP version is sufficient |
| tiki-setup.php | Update warning messages and the check that PHP version is sufficient |
Here are previous examples: