PhpStorm本地终端

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

我想知道如何显示readLine?

本地终端。enter image description here

'php'不被识别为内部命令或外部命令,可执行程序或批处理文件。

但我在哪里可以定义这个?

运行窗口。 运行但不显示readLine ...

enter image description here

我的设置

CLI解释器。enter image description here

语言 > PHP:enter image description here

工具 > 终端。enter image description here

工具 > 命令行工具支持。enter image description here

谢谢你!

php phpstorm display
1个回答
1
投票

将PHP添加到路径环境变量中,在windows中使用以下路径。

我的电脑->属性->高级系统设置->环境变量。

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