为什么在尝试打开 https://localhost:8000 时出现错误

问题描述

当我需要为我的 PHP 代码打开 localhost 站点 https://localhost:8000 时。 所以我在我的 VS 代码终端中写了这行

PHP -S 本地主机:8000

但是我遇到了错误

复制粘贴

<div class="col-xs-12">
  <div class="col-xs-3">Column 1 </div>
  <div class="col-xs-3">Column 2 </div>
  <div class="col-xs-3">Column 3 </div>
  <div class="col-xs-3">Column 4 </div>
</div>

解决方法

请看php : The term 'php' is not recognized as the name of a cmdlet,function,script file,or operable program