Actions
Bug #64504
closedPHP 5.4 fatals with unexpected 'class' (T_CLASS) instead of proper error
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
Actions