Silverstripe 4.7.3
Does Silverstripe 4.7.3 have to use PHP 8
I installed Silverstripe 4.7.3 via composer and on loading the site to begin the configuration was presented with the message:
Parse error : syntax error, unexpected ‘|’, expecting variable (T_VARIABLE) in /Users/phillbexon/Dropbox/Websites/AccessIT/SemietaV3/webfiles/vendor/psr/cache/src/CacheItemInterface.php on line 104
On digging further, it would appear that the composer command I used:
composer create-project silverstripe/installer webfiles
Installs PSR/Cache (2.0.0) which has a minimum PHP version of 8
I did wonder if this version was installed because I added --ignore-platform-reqs onto the composer command, however, running composer without it give me an error about ext-intl not being installed although it actually is installed which I verified with ‘PHP -m’
Does anyone have any thoughts on how I can resolve it so that it runs under php 7.4?