Home > Article > Backend Development > Why is my PHP.exe input name unresponsive?
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.
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.
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