Maybe you should downgrade to laravel 5.5 https://laravel.com/docs/5.5/installation
May 7, 2018
4
Level 2
as for php 7.0, which version of laravel ?
I just made an app with laravel 5.6, but the hosting server support only php 7.0 (not 7.1), which version of laravel should I downgrade? any idea? Thank you in advance.
Level 13
@fen Did you run composer on a machine with php 7.1 and then copy the entire folder to the server?
If you do that, composer will install dependencies that depend on php 7.1. You can either run composer update on your 7.0 server to fix that, or add a version constraint to your composer.json file in your local machine to set the php dependency to 7.0.
Please or to participate in this conversation.