Project

General

Profile

Actions

Bug #88190

closed

Scheduler not running when php_sapi_name is cgi-fcgi

Added by Christian Ebert about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-04-23
Due date:
% Done:

0%

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

Description

Was discovered in Typo3 8.7.24

- php_sapi_name() on the system reports 'cgi-fcgi'
- \typo3\sysext\core\Classes\Console\CommandApplication.php::97 checks for: if (php_sapi_name() !== 'cli') {

=> The check should be: if (substr(php_sapi_name(), 0, 3) !== 'cgi') {
=> similar to typo3\sysext\backend\Classes\Console\Application.php::99

Actions

Also available in: Atom PDF