如何在 Windows 上访问 xampp 的命令行 [英] how to access the command line for xampp on windows

查看:30
本文介绍了如何在 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

如有任何建议,我们将不胜感激.

Any advice would be appreciated.

推荐答案

  • 您可以设置环境变量,如其他答案中所述(例如 这里)

    您可以以管理员身份打开Start > CMD并写入

    you can open Start > CMD as administrator and write

    C:\xampp\php phpfile.php

    这篇关于如何在 Windows 上访问 xampp 的命令行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆