Failed to execute the explain test .. input help command is useless .. please help me find the reason. thank you.
I want to make a scheduled task for the program to execute php on its own.
A few pieces of data found that the .winsystem can use php.exeto execute the PHP program and open php.exe. the test execution fails. it is useless to enter the HELP command. please help me find the cause and thank you.
Reply content:
I want to make a scheduled task for the program to execute php on its own.
A few pieces of data found that the .winsystem can use php.exeto execute the PHP program and open php.exe. the test execution fails. it is useless to enter the HELP command. please help me find the cause and thank you.
Open the cmd window in the directory where php is installed and try php-v.
1. we recommend that you setPHP
Add it to system environment variables;
2. execute a single PHP command and add it directly in the task plan. if you execute multiple PHP commands, it is recommended to write a batch file.