PHP内置的Web Server的使用

  自PHP5.4之后 PHP内置了一个Web 服务器。 让我们来看看php Web Server的简单使用:   启动php Web Server php -S localhost:8080 通过 php -S 命令即可启动PHP自带的Web Server,后面跟网络地址及监听的端口号,默认的网站根目录为当前目录。访问http://localhost:8080 指定网站根目录,-t命令 php
相关文章
相关标签/搜索