dousuochu7291
2017-06-25 23:14
浏览 38
已采纳

在OSX上安装laravel后localhost无法正常工作

This problem only happens on OSX I installed composer using the curl -sS "https://getcomposer.org/installer" | php command in Terminal and made the composer global then I created the laravel app using composer.phar create-project laravel/laravel cld command and i restarted localhost and went to localhost/cld/public and I get the following error

localhost is currently unable to handle this request.

I did the same thing in windows 10 and everything works fine.

UPDATE

I started to use Laravel Valet and it's amazing some useful resources
1. https://laravel.com/docs/5.4/valet
2. https://www.youtube.com/watch?v=IBxIfN-GnnY&t=102s

图片转代码服务由CSDN问答提供 功能建议

此问题仅发生在使用 curl -sS“https:// getcomposer”的OSX I已安装的编写器上 .org / installer“| 在终端中使用php 命令并使作曲家全局化然后我使用 composer.phar create-project laravel / laravel cld 命令创建了laravel应用程序,然后我重新启动了localhost并转到了localhost / cld / public 我收到以下错误

localhost目前无法处理此请求。

我做了 在Windows 10中同样的事情,一切正常。

更新

我开始使用Laravel代客,这太棒了 一些有用的资源
1。 https://laravel.com/docs/5.4/valet
2 。 https://www.youtube.com/watch?v=IBxIfN- GnnY& t = 102s

  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • dongzai2952 2017-08-04 15:36
    已采纳

    Just use laravel valet it's a life saver credit goes to Ru Chern Chong

    打赏 评论

相关推荐 更多相似问题