Project

General

Profile

Actions

Bug #64504

closed

PHP 5.4 fatals with unexpected 'class' (T_CLASS) instead of proper error

Added by Stephan Großberndt about 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-01-26
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.4
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Trying to access www.my-new-install.xxx/ or www.my-new-install.xxx/typo3 with a fresh install of TYPO3 CMS 7 on a PHP 5.4 system will result in a blank screen or

 Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in xxx/typo3/typo3_src-7.0.2/typo3/sysext/core/Classes/Core/Bootstrap.php on line 106

Thus there is no redirect to the install tool showing the proper reason (PHP version too low).

Even though the requirement for PHP 5.5 is stated on the download page, if its not 5.5 the output should be more graceful. Several threads on the mailing list exist of people with blank screens trying to figure out why the install tool doesn't show up.

There should be a check at least for the PHP-Version in /index.php and /typo3/index.php


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Task #62914: Early check for PHP 5.5 in Install ToolClosedXavier Perseguers2014-11-13

Actions
Actions #1

Updated by Gerrit Code Review about 9 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36266

Actions #2

Updated by Gerrit Code Review about 9 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36266

Actions #3

Updated by Gerrit Code Review about 9 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36266

Actions #4

Updated by Gerrit Code Review about 9 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36266

Actions #5

Updated by Gerrit Code Review about 9 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36266

Actions #6

Updated by Helmut Hummel about 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF