My php.exe input name does not respond. why?

Source: Internet
Author: User
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 setPHPAdd 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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.