dongzizhi9903
2018-10-28 07:49 阅读 103
已采纳

克隆Laravel项目并安装composer和npm然后也给我错误500页找不到

I created project and push it to github Now I clone it into another pc

What i have done is

> composer install
> npm install

//also import the same database in sql 

now when I open project link in browser it's showing me error of page not found 500

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

2条回答 默认 最新

  • 已采纳
    doudu2515 doudu2515 2018-10-28 07:53

    First create copy .env.example to .env file

    > copy .env.example .env
    
    > php artisan key:generate
    

    then goto your .env file and change database details
    this might work for you

    点赞 3 评论 复制链接分享
  • dsc7188 dsc7188 2018-10-28 08:06

    try php artisan serve and then localhost:3000 on browser

    点赞 2 评论 复制链接分享

相关推荐