douxiaqin2062 2016-02-21 01:29
浏览 40
已采纳

尝试三周后无法安装Laravel 5或运行任何Laravel项目

I'm in my third week of trying to install any Laravel project, with laravel5-example being the latest one. I'm using Windows 7. I've tried via XAMPP, I've installed composer, Virtual-box and Vagrant.

One tutorial had me installing Node.js. I've tried to install Homestead to no avail. Everything, at some point, results in errors which are never mentioned in the tutorials.

I've downloaded about ten projects in the hopes of learning something about Laravel, with zero luck. It seems that everyone has a different method and everyone leaves out crucial steps, or gives an instruction like "launch it" but doesn't instruct how to do that.

I've tried installing in

C:\xampp
C:\xampp\htdocs
C:\users{username}\AppData\Roaming
C:\
and others.

I've watched countless video tutorials, read countless StackOverflow threads, and in 21 days I've achieved nothing. Not even close to just seeing a project run on my machine.

I haven't been this disgusted since Windows 8 was released! Can anyone point me to something that really is for a beginner? I thought I'd be learning Laravel by now and after attempting for several hours per day for three weeks, I haven't gotten past installing whatever Laravel needs to even run.

Thank you

  • 写回答

1条回答 默认 最新

  • duanlu7223 2016-02-21 03:53
    关注

    If you don't want to have any troubles with installation, try to use Homestead which is independent from your OS. All you need is install VMWare and Vagrant like any other Windows software. Then install Homestead using these instructions:

    https://laravel.com/docs/5.2/homestead

    In that case, you will not need cofiguring and running any Windows servers like XAMPP.

    Also, try to turn off a firewall while you're installing Homestead and Laravel, because newbies have a lot of problems caused by firewall.

    Try installing Homestead and if you'll meet any troubles, come back here and we'll help you to fix them.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 vc6.0中想运行代码的时候总是提示无法打开文件是怎么回事
  • ¥25 关于##爬虫##的问题,如何解决?:
  • ¥15 ZABBIX6.0L连接数据库报错,如何解决?(操作系统-centos)
  • ¥15 找一位技术过硬的游戏pj程序员
  • ¥15 matlab生成电测深三层曲线模型代码
  • ¥50 随机森林与房贷信用风险模型
  • ¥50 buildozer打包kivy app失败
  • ¥30 在vs2022里运行python代码
  • ¥15 不同尺寸货物如何寻找合适的包装箱型谱
  • ¥15 求解 yolo算法问题