Home > Backend Development > PHP Tutorial > 命令提示符运行php文件解决办法

命令提示符运行php文件解决办法

WBOY
Release: 2016-06-13 10:02:33
Original
928 people have browsed it

命令提示符运行php文件
请问如果利用命令提示符运行php文件呢?
好像是cmd,然后进到php的bin目录,然后就可以执行了,那个是bin目录啊,好像找不到这个目录

------解决方案--------------------
1 windows下 php.exe 所在的目录.
2 如果不想带目录执行,可以将php.exe所在的目录加到系统环境变量里.
------解决方案--------------------
加入环境变量快捷方法:我的电脑右键属性高级里的环境变量设置

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template