how to access the command line for xampp on windows

后端 未结 9 1229
难免孤独
难免孤独 2020-11-28 07:22

I am running Xampp on my Windows 7 machine and was wondering if and how I could run commands for xampp via a command line. commands like php phpfile.php

Any advice w

9条回答
  •  庸人自扰
    2020-11-28 08:09

    • You can set environment variables as mentioned in the other answers (like here)

      or

    • you can open Start > CMD as administrator and write

      C:\xampp\php phpfile.php

提交回复
热议问题