php
1 2<!DOCTYPE html> 3<html lang="ja"> 4<head> 5 <meta charset="utf-8"> 6 <title>BINGO!</title> 7</head> 8<body> 9 <div id="container"> 10 <table> 11 <tr> 12 <th>B</th><th>I</th><th>N</th><th>G</th><th>O</th> 13 </tr> 14 <tr> 15 <th>1</th> 16 <th>1</th> 17 <th>1</th> 18 <th>1</th> 19 <th>1</th> 20 </tr> 21 </table> 22 </div> 23</body> 24</html> 25
vagrantの内容
[vagrant@localhost bingo_php]$ php -S 192.168.33.10:8000
PHP 5.6.40 Development Server started at Sun Mar 8 16:42:41 2020
Listening on http://192.168.33.10:8000
Document root is /home/vagrant/bingo_php
Press Ctrl-C to quit.
[Sun Mar 8 16:42:52 2020] 192.168.33.1:64789 [200]: /
[Sun Mar 8 16:42:52 2020] 192.168.33.1:64790 [404]: /favicon.ico - No such file or directory
[Sun Mar 8 16:44:06 2020] 192.168.33.1:64800 [200]: /
[Sun Mar 8 16:44:07 2020] 192.168.33.1:64801 [200]: /
[Sun Mar 8 16:44:09 2020] 192.168.33.1:64802 [200]: /
[Sun Mar 8 16:44:25 2020] 192.168.33.1:64803 Invalid request (Unexpected EOF)
- php -S 192.168.33.10:8000でブラウザに表示しようと思ったら何も映らない。
- しかしechoは映る
- htmlが映らない
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/03/08 09:33
2020/03/08 09:49