1

Laravel 5.3 is giving an error on production server while working fine on localhost. Other than changing php version, is there any other possible solution?

Parse error: syntax error, unexpected '.', expecting '&' or variable (T_VARIABLE) in /var/www/html/laravel_fresh/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php on line 475

Attila Fulop
  • 6,861
  • 2
  • 44
  • 50
vishal
  • 381
  • 2
  • 4
  • 1
    This post may help you. http://stackoverflow.com/a/39486346/4584028 – Balraj Allam Nov 05 '16 at 10:36
  • I have checked this out. It is been mentioned in question other than changing php version and the post you mentioned gives exact same answer of changing php version on hosted server – vishal Nov 05 '16 at 10:39
  • Please provide more information to make this question helpfull for other users. – Paul Spiegel Nov 05 '16 at 14:03

1 Answers1

0

No, there is not. You need to have at least PHP >= 5.6.4 in order to run Laravel 5.3.

Attila Fulop
  • 6,861
  • 2
  • 44
  • 50