服务器中的php版本未显示文档根目录

问题描述 投票:0回答:1

问题:我尝试在php测试服务器中设置构建,使用命令我使用命令提示符php -S localhost:4100并输出此

enter image description here

但是根据维基的,所以它应该输出这个

enter image description here

注意:这是一种娱乐

info:我正在运行PHP 7.4.6(CLI)(内置:2020年5月12日11:38:54)(ZTS Visual C ++ 2017 x64)和我的php filles(我在安装中解压缩的位置)是C:\ static \ php

-已经感谢朱利安

php windows command-prompt
1个回答
0
投票

您正在比较Windows输出而不是Linux输出。如果您的服务器服务在localhost:4100下可用,那么到目前为止一切正常:)

© www.soinside.com 2019 - 2024. All rights reserved.