0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

またLaravelをインストール

Posted at

前回、LaravelをMacにインストールした記事を書いたのが3年前。今回はWindowsに入れようとしています。
一応、本を見ながらやっているのだが、Dockerって何? Sailって何?となり、知らないうちに Laravel Herdというものを使ってインストールしていた。
そして、さっそくハマる。
php -Sではサーバが起動するのに、php artisan serveではなぜか、
Failed to listen on 127.0.0.1:8000 (reason: ?)
が出る。
ChatGPTに聞くも、トンチンカンな解答ばかりで全く解決せず。
中にはphpやlaravelの再インストールを促す案もあり、さすがにそれは却下。
結局、Web検索したら、Stack Overflowであっさり解決策が見つかる。
https://stackoverflow.com/questions/78583889/php-artisan-serve-failed-to-listen-on-127-0-0-18000-reason
どうやら、スーパーグローバルがらみの設定らしい。この人なんで分かるの?天才ですか?

これで、最初の難関を突破したと思いたい...

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?