Bug #84151
closedTYPO3 8.7.10 doesn't support PHP 7.0
0%
Description
Hi,
im using TYPO3 8.7.10 in composer mode and PHP 7.0. Here https://typo3.org/download/ I can read that TYPO3 8.7 supports PHP 7.0 , but it's not, due to Symfony component 'finder', /vendor/symfony/finder/Comparator/NumberComparator.php in line 42 is using nullable type, which is allowed from PHP 7.1. It's I think single place where PHP 7.0 is not supported.
Updated by Łukasz Uznański about 6 years ago
- Subject changed from TYPO3 8.7.10 don't support PHP 7.0 to TYPO3 8.7.10 doesn't support PHP 7.0
Updated by Georg Ringer about 6 years ago
- Subject changed from TYPO3 8.7.10 doesn't support PHP 7.0 to TYPO3 8.7.10 don't support PHP 7.0
- Status changed from New to Needs Feedback
is it possible that you are doing a composer install on a machine with PHP 7.1+ and then deploy it to a server with 7.0?
Updated by Georg Ringer about 6 years ago
- Subject changed from TYPO3 8.7.10 don't support PHP 7.0 to TYPO3 8.7.10 doesn't support PHP 7.0
Updated by Łukasz Uznański about 6 years ago
Actually, yes :( so that's only my fault.
Updated by Łukasz Uznański about 6 years ago
I have commited my composer.lock on local env with PHP 7.1 and then when I deploy my code to stage environment, I run composer install with PHP 7.0.
Updated by Wouter Wolters about 6 years ago
- Status changed from Needs Feedback to Closed
I suggest to set the platform setting in your composer to prevent these issues :) I close this as resolved.
See
"config": {
"platform": {
"php": "7.0"
}
},