php - Hosting Laravel 4.2 project on share hosting -
i have uploaded laravel 4.2 project on share hosting contents of other folders uploaded directly in root directory, content of public folder uploaded in public_html
.
but when access url error.
parse error: syntax error, unexpected '[' in /home/vendor/laravel/framework/src/illuminate/support/helpers.php on line 426
has experience before?
any appreciated. thanks
it looks got unsupported version of php.
laravel 4.2 uses short array syntax introduced in php 5.4.
Comments
Post a Comment