Could not open input file : localhost:8080(无法打开输入文件:localhost:8080)
问题描述
在Windows上,要从命令提示符运行PHP Web服务器,我键入:
我收到以下错误:
无法打开输入文件:localhost:8080
,但cmd php test.php
将回显文本。为什么?
推荐答案
只是大写S
。
现在我可以在浏览器中查看页面。
我必须cd到正确的目录.PUBLIC有一个index.php文件。
这篇关于无法打开输入文件:localhost:8080的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!