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

在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

  • 写回答

1条回答 默认 最新

  • dongzai2952 2017-08-04 15:36
    关注

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

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

报告相同问题?