Laravel ERROR 500 apache2, php7.1
Hi, I´m facing some kind of new issue with Laravel. I´ve had already deployed a lot of Laravel sites on others cloud server using Ubuntu 16, but at this 14.4 on DigitalOcean it is the first time.
Using Laravel 5.7, Apache2, PHP 7.1 as usual.
Fixed all the permissions at storage and bootstrap dirs and the log shows:
[Thu Feb 07 07:25:56.837047 2019] [:error] [pid 1447] [client 126.96.36.199:59927] PHP Parse error: syntax error, unexpected ’.’, expecting ’&’ or variable (T_VARIABLE) in /var/www/primorossiseminovos/primorossiseminovos/vendor/symfony/var-dumper/Resources/functions/dump.php on line 18
What could it be?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×