PHP 静态服务器

一直用 python 的 python -m SimpleHTTPServer 8080 的形式来做简单的静态服务器。

原来 PHP 也有类似的工具,如 php -S localhost:8080,支持 PHP 文件和 POST 哦。