I am working with laravel 5.2 and php 7.1.7 , the problem is that when I try to use some artisan command to raise the server with the command php artisan serve
I get:
no direct script access allowed
on the console and it will not let me start.
I also tried doing a composer clear-cache
and then composer update
but when I do the update I also get the:
no direct script access allowed
and I do not know how to fix it. Any ideas?