Project

General

Profile

Actions

Feature #87837

closed

Console/CommandApplication.php Error-Message php_sapi_name() !== 'cli'

Added by Martin Heinemann about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
CLI
Start date:
2019-03-04
Due date:
% Done:

0%

Estimated time:
PHP Version:
7.2
Tags:
Complexity:
no-brainer
Sprint Focus:

Description

The current message is
'Not called from a command line interface (e.g. a shell or scheduler).'

This message is not wrong but led my search wrong. In my case I hat to call PHP by
php7...-CLI (jweiland) to provide command line interface to the scheduler. It took me some hours to find out.
Please give some hint in the error message.

Typo3 V 8.7.24

Actions

Also available in: Atom PDF