Search code examples
phplaravelsymfonylaravel-artisan

Can't open Laravel project


Installed php7.2, composer, laravel 2.0.1,on Ubuntu 16.0

Every time i create new project

 $ laravel new TestProj

a lot of "reccomandations" shows up:

symfony/var-dumper suggests installing ext-intl (To show region name in time zone dump) symfony/routing suggests installing doctrine/annotations (For using the annotation loader) symfony/routing suggests installing symfony/config (For using the all-in-one router or any loader) symfony/routing suggests installing symfony/dependency-injection (For loading routes from a service) symfony/routing suggests installing symfony/expression-language (For using expression matching) symfony/routing suggests installing symfony/yaml (For using the YAML loader) symfony/event-dispatcher suggests installing symfony/dependency-injection () symfony/http-kernel suggests installing symfony/browser-kit () symfony/http-kernel suggests installing symfony/config ().......

but I've read that it's ok,

now, when I try to start the server

TestProj$ php artiasn serve

it starts ok:

Laravel development server started: <http://127.0.0.1:8000>

but when I try to enter this address in browser(same on firefox and chrome) the page says "woops, it's seems like something went wrong", and in the command line is written:

[Fri Feb  9 00:54:59 2018] 127.0.0.1:52176 [200]: /favicon.ico

Tryed to write this in index.php:

<link rel="FaviconIcon" href="favicon.ico" type="image/x-icon">

Solution

  • Issue might be that your APP_KEY is missing, solution to this is to run php artisan key:generate