Home > Backend Development > PHP Tutorial > cmd - windows 命令行下执行PHP脚本?

cmd - windows 命令行下执行PHP脚本?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:25:09
Original
1768 people have browsed it

windows 命令行下执行PHP脚本?能给个dmeo吗?我执行了好几次都是

cmd - windows 命令行下执行PHP脚本?

回复内容:

windows 命令行下执行PHP脚本?能给个dmeo吗?我执行了好几次都是

cmd - windows 命令行下执行PHP脚本?

路径不对,比如你的htdocs 前如果是./,那也就是说htdocs位于xampp/php 下,这不是你的目录结构吧?

你的路径写对了吗……

很明显你的路径出错了,看看我下面的示例。

相对路径
cmd - windows 命令行下执行PHP脚本?

绝对路径
cmd - windows 命令行下执行PHP脚本?

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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template