写的test.php竟然直接被浏览器下载了下来,没有被解析。
看了看自己开的端口:
1
2
3
4
5
6
7
8
9
10
|
root@ubuntu:
/home/hankcs
# netstat -ntpl
激活Internet连接 (仅服务器)
Proto Recv-Q Send-Q Local Address Foreign Address State PID
/Program
name
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1060
/nginx
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1081
/dnsmasq
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 834
/cupsd
tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1442
/php-fpm
.conf)
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 987
/mysqld
tcp6 0 0 :::80 :::* LISTEN 1060
/nginx
tcp6 0 0 ::1:631 :::* LISTEN 834
/cupsd
|