Project

General

Profile

Actions

Bug #88190

closed

Scheduler not running when php_sapi_name is cgi-fcgi

Added by Christian Ebert almost 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 #1

Updated by Bastian Bringenberg almost 5 years ago

  • Project changed from 9 to TYPO3 Core
  • TYPO3 Version set to 8

Changed Project.

Actions #2

Updated by Christian Ebert almost 5 years ago

Please close the issue. I think the problem is the hosting environment not providing the php-cli correctly.

Ebert no-lastname-given wrote:

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 #3

Updated by Georg Ringer almost 5 years ago

  • Status changed from New to Closed

closed as requested

Actions #4

Updated by Hartmut Steglich almost 5 years ago

... the problem is the hosting environment not providing the php-cli correctly.

I can confirm this for the German hoster strato.de which uses "cgi-fcgi" and TYPO3 9.5

Actions

Also available in: Atom PDF