Home > php教程 > php手册 > body text

cmd execute php file

WBOY
Release: 2016-08-23 09:02:46
Original
908 people have browsed it

cmd executes php file
cmd execute php file
You can directly specify php.exe to execute php files in any directory.

Second method: Configure environment variables.
Environment Variables->System Variables->Path, click New, C:wampbinphpphp5.5.12 (the directory where my php.exe is located), and confirm to save. In order to load the configured variables, you need to open a new window and execute php.exe a.php (php file path).

【Advertising】
I undertake the development and secondary development of shopping malls, offices, corporate websites, distribution and other systems. Welcome to consult.
771831851

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 Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template