Reputation: 41
I am running PHP 5.6 & Laravel 5.6 version project. When I clone it from github repo & run "composer install or composer update". It throws me following error.
PHP Fatal error: Default value for parameters with a class type hint can only be NULL in /usr/share/php/Symfony/Component/Console/Application.php on line 85
Is it the problem with dependencies?
Upvotes: 0
Views: 4981
Reputation: 19573
The laravel version number is unrelated to the minimum php version required. Laravel 5.6 requires php 7.1.3 or greater
https://laravel.com/docs/5.6#server-requirements
Upvotes: 3