teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

[vagrant@localhost ~]$ cd php_lessons [vagrant@localhost php_lessons]$ php -S 192.168.33.10:8000 PHP

2019/04/19 06:03

投稿

seckey
seckey

スコア10

title CHANGED
File without changes
body CHANGED
@@ -33,7 +33,13 @@
33
33
  ```
34
34
  The requested resource / was not found on this server.
35
35
  ### 該当のソースコード
36
+ [vagrant@localhost ~]$ cd php_lessons
37
+ [vagrant@localhost php_lessons]$ php -S 192.168.33.10:8000
38
+ PHP 5.6.40 Development Server started at Fri Apr 19 04:53:09 2019
36
- http://192.168.33.10:8000
39
+ Listening on http://192.168.33.10:8000
40
+ Document root is /home/vagrant/php_lessons
41
+ Press Ctrl-C to quit.
42
+ [Fri Apr 19 04:53:25 2019] 192.168.33.1:50898 [404]: / - No such file or directory
37
43
 
38
44
  ```ここに言語名を入力
39
45
  ソースコード

1

フォルダ名php_lessons の中の php.indexのファイルが開けません。

2019/04/19 06:02

投稿

seckey
seckey

スコア10

title CHANGED
File without changes
body CHANGED
@@ -23,6 +23,10 @@
23
23
  ### 前提・実現したいこと
24
24
  ドットインストールのPHPをやっているのですが
25
25
  ブラウザにて確認できません。
26
+
27
+ フォルダ名php_lessons
28
+ の中の
29
+ php.indexのファイルが開けません。
26
30
  ```
27
31
  エラーメッセージ
28
32
  not found