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 187.32.53.230: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?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hey friend!
So it looks like line 18 of the file at /var/www/primorossiseminovos/primorossiseminovos/vendor/symfony/var-dumper/Resources/functions/dump.php has bad syntax. It looks like it relates to the use of a period. If it’s safe to provide that line here, others might be able to provide information about how that line should look.
Jarland
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.