Project

General

Profile

Actions

Feature #98452

open

Allow to disable CLI check by configuration

Added by Jonas Wolf about 2 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
CLI
Target version:
-
Start date:
2022-09-27
Due date:
% Done:

0%

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

Description

There should be a configuration option to disable the CLI check found in \TYPO3\CMS\Core\Console\CommandApplication->checkEnvironmentOrDie()
(https://github.com/TYPO3/typo3/blob/main/typo3/sysext/core/Classes/Console/CommandApplication.php#L165)

Reason: Some hosters (e.g. Strato) supply PHP binaries that report a SAPI other than "cli" even when called from a command line. In these environments, the CLI currently can't be used at all.

If there is no technical reason why this check is necessary, administrators should be able to chose whether to have the check in place or not.

No data to display

Actions

Also available in: Atom PDF