Can't make Laravel 4 to work on localhost

前端 未结 14 1987
梦毁少年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:09

    I like this method better than changing permissions to 777. Set Apache to run as you.

    1. In terminal type id to get uid=123(Myname).

    2. Open /etc/apache2/httpd.conf and edit it to use your username.

      
         User Myname
         Group staff
      
      
    3. Back to terminal: sudo apachectl restart

提交回复
热议问题