Home >php教程 >php手册 >cmd execute php file

cmd execute php file

WBOY
WBOYOriginal
2016-08-23 09:02:46922browse

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

Statement:
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
Previous article:WeChat MallNext article:WeChat Mall