哪里是XAMPP的壳呢? [英] Where is XAMPP's Shell?

查看:119
本文介绍了哪里是XAMPP的壳呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的XAMPP与控制面板V2.5(9 2007年5月)的最新版本的XAMPP。我想访问命令行运行 PHP -q htdocs中\\路径\\为\\ file.php

I am using the latest version of XAMPP with XAMPP control panel v2.5 (9 May 2007). I want to access the command line to run php -q htdocs\path\to\file.php.

问题:在我的XAMPP控制面板,我没有看到壳牌按钮,将弹出命令行界面。如何访问外壳,或有另一种方式来运行PHP文件?

Problem: On my XAMPP control panel, I do not see the Shell button that will bring up the command line interface. How can I access the shell, or is there another way to run the PHP file?

我的XAMPP控制面板

什么我发现:

What I am finding:

推荐答案

如果你的的php.exe PATH目录环境变量,你可以简单地打开一个命令行窗口(开始>运行> CMD),进入你的PHP脚本目录和 PHP yourscript.php 。

If you have php.exe's directory in your PATH environment variable, you can simply open a command line window (Start > Run > cmd), go in your PHP script directory and launch it with php yourscript.php.

这篇关于哪里是XAMPP的壳呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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