Can't make Laravel 4 to work on localhost

前端 未结 14 1994
梦毁少年i
梦毁少年i 2020-12-01 05:18

I\'m trying Laravel for the first time after reading an announcement of the Laravel4 beta releasing.

I followed these steps I installed composer and laravel with all

14条回答
  •  没有蜡笔的小新
    2020-12-01 06:07

    In my case I resolved this error by modifying in file /app/config/app.php the default setting:

    'url' => 'http://localhost',
    

    to my local custom virtualhost host url:

    'url' => 'http://mydomain.local',
    

    This seemed to be THE essential change that resolved the issue (I also chmod'ed the storage folder, as suggested here)

    hope this helps some of you..

提交回复
热议问题