1
0

More than 1 year has passed since last update.

phpのビルトインサーバー

Posted at

php -S localhost:8080 sample.php

などと記述してしまうと、フォルダ全体のファイルは普通には参照されなくなっちゃうのね〜。

php -S localhost:8080

こうやったら、localhost:8080/sample.php なんてアクセスすればフォルダ全体のファイルを普通に参照できるみたい。

1
0
1

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
1
0