使用Windows 7. 我正在關注Laracasts - Laravel設置Newb https://laracasts.com/lessons/laravel-installation-for-newbs,但是當涉及到我輸入的4:25標記php artisan serve
時,出現以下消息。在Windows上安裝Laravel
C:\Users\Pierce\Desktop\laravel-demo>php artisan serve
Laravel development server started on http://localhost:8000
[Wed Mar 19 00:29:46 2014] Failed to listen on localhost:8000 <reason: An attempt was made to access a socket in a way forbidden by its access permissions.>
我從盒子裏直接安裝了XAMPP,並按照視頻中的說明進行操作。我在這裏停下了什麼?
所以最好只是安裝在我的htdocs和通過本地主機運行,因爲我會與舊的PHP的東西? –
基本上是。最好的方法是在Apache中創建一個虛擬主機,並在那裏運行它。 –
謝謝。我討厭當教程做一件事,然後發生其他事情 –