Bug #64504
closedPHP 5.4 fatals with unexpected 'class' (T_CLASS) instead of proper error
100%
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
Updated by Gerrit Code Review over 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
Updated by Gerrit Code Review over 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
Updated by Gerrit Code Review over 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
Updated by Gerrit Code Review over 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
Updated by Gerrit Code Review over 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
Updated by Helmut Hummel over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d79a232c3359228c63b1cc8e8405165731bd3721.