如何在 Windows 上访问 xampp 的命令行 [英] how to access the command line for xampp on windows
本文介绍了如何在 Windows 上访问 xampp 的命令行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在 Windows 7 机器上运行 Xampp,想知道是否以及如何通过命令行运行 xampp 命令.php phpfile.php 之类的命令
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
任何建议将不胜感激.
推荐答案
您可以设置环境变量,如其他答案中所述(例如 这里)
或
您可以以管理员身份打开开始> CMD并写入
you can open Start > CMD as administrator and write
C:\xampp\php phpfile.php
这篇关于如何在 Windows 上访问 xampp 的命令行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文