By yukopangestu
Hi,
Does everybody know how to install newest laravel 5.3 in Nginx Ubuntu 14.04? Unfortunately in this newest version of Laravel they need 5.6 PHP while what I have is 5.5 so I cannot install the vendor folder.
But when I manually upload the vendor folder, then come this error
2016/08/26 11:04:15 [error] 4501#0: *14 FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected '.', expecting '&' or variable (T_VARIABLE) in /usr/share/nginx/html/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php on line 475" while reading response header from upstream, client: 111.94.234.118, server: sekolah.yukopangestu.com, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "139.59.245.181"
How can I solve this problem? Thank you so much
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!
Install a development Repo in /etc/apt/sources.list with php5.6, upgrade to php5.6 and proceed with your new laravel, of course if you are absolutely sure you definitely need this )
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.