Issue Task Closed

#100019TYPO3 cli bin: Add version info for PHP to top of output

J. Peter M. Schuler 02/23/23, 16:16 updated 01/30/24, 09:06

Description

Currently a call to cli `vendor/bin/typo3` shows a small HELLO message which TYPO3 version number an appcontext like

TYPO3 CMS 11.5.24 (Application Context: Production)

I propose to also output PHP version so that it would e.g. be

TYPO3 CMS 11.5.24 (Application Context: Production)
PHP CLI 8.1.16

While it is not necessary as this info is available during cli of course with a simple php --version more often than not problems come up where expected PHP version is not used PHP version. There are approaches to mitigate this problems of course, however adding this info might help in a lot of cases as it shows the culprit directly.

Reviews 2