Home  >  Article  >  Backend Development  >  Why is my PHP.exe input name unresponsive?

Why is my PHP.exe input name unresponsive?

WBOY
WBOYOriginal
2016-08-08 09:06:561455browse

I want to make a scheduled task to let the program execute php by itself.
Baidu found some information that Win system may need to use php.exe to execute the php program. I opened php.exe and the test execution failed. Enter the help command. It’s useless. Please help me find the reason. Thank you.
Why is my PHP.exe input name unresponsive?

Reply content:

I want to make a scheduled task to let the program execute php by itself.
Baidu found some information that Win system may need to use php.exe to execute the php program. I opened php.exe and the test execution failed. Enter the help command. It’s useless. Please help me find the reason. Thank you.
Why is my PHP.exe input name unresponsive?

Open the cmd window in the directory where php is installed and try php -v

1. It is recommended that you add PHP to the system environment variables first;
2. If you execute a single PHP command, you can add it directly in the task plan; if you execute multiple PHP commands, it is recommended to write a batch file

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