Project

General

Profile

Actions

Bug #84151

closed

TYPO3 8.7.10 doesn't support PHP 7.0

Added by Łukasz Uznański about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
System/Bootstrap/Configuration
Target version:
Start date:
2018-03-06
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

Actions #1

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
Actions #2

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?

Actions #3

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
Actions #4

Updated by Łukasz Uznański about 6 years ago

Actually, yes :( so that's only my fault.

Actions #5

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.

Actions #6

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"
}
},

Actions

Also available in: Atom PDF