Project

General

Profile

Actions

Task #93246

closed

Check maximum PHP version in entrypoints

Added by Mathias Brodala about 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Should have
Category:
System/Bootstrap/Configuration
Target version:
Start date:
2021-01-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The entrypoints for FE, BE and CLI should not only check for a minimum PHP version but also a maximum PHP version. This reflects the composer.json which contains e.g. "php": "^7.4" and thus disallows installation with PHP 8.x.

However, this can accidentally be bypassed if a local development environment uses PHP 7.4 and a remote server uses PHP 8.0.

For this reason an additional check should be added to all entrypoints as safeguard.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #93257: Use Composer runtime platform check instead of our ownClosed2021-01-10

Actions
Actions

Also available in: Atom PDF