Pro*_*hir 6 php xampp command-line windows-10
当我在命令提示符中输入 php 时,结果是
C:\Users\samsung>php
'php' is not recognized as an internal or external command,
operable program or batch file.
Run Code Online (Sandbox Code Playgroud)
我已经在 Windows 10 中安装了 xampp,但我没有在设置中编辑 php.ini 文件。任何启用此 php 命令的帮助将不胜感激,因为因此我在 laravel 作曲家设置中有库存。
您应该将 php.exe 路径添加到 PATH 环境变量
http://php.net/manual/en/faq.installation.php#faq.installation.addtopath