Windows:通过htdocs的命令行运行PHP


1

我正在尝试通过命令行(Windows 7)运行PHP,但每次都是痛苦地完成PHP的完整路径。我尝试使用mklink

mklink /D "c:\xampp\php\php" php

然而,这似乎没有做到这一点,它只是告诉我,当我输入php它不是一个公认的程序或命令...

Answers:


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.