php如何启动内置web服务器,Webserver Setup

https://blog.csdn.net/shenshulong/article/details/103959756

$(which php) -S <host>:<port> -t <directory> <setup file>

$(which php) -S localhost:8000 -t public .htrouter.php

原文地址:https://www.cnblogs.com/goodbye/p/13896574.html