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

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -