Home  >  Article  >  Backend Development  >  Enter "php -v" Can't find the command?

Enter "php -v" Can't find the command?

Guanhui
GuanhuiOriginal
2020-07-24 10:39:503248browse

Enter

Enter “php -v” Can’t find the command?

The command cannot be found when entering "php -v". The reason is that the PHP environment variable is not set. Solution:

First right-click "Computer" and select "Properties";

Enter php -v Cant find the command?

Then open "Environment Variables" under "Advanced System Settings";

Enter php -v Cant find the command?

Finally add PHP to PATH Just program path.

Enter php -v Cant find the command?

Recommended tutorial: "PHP"

The above is the detailed content of Enter "php -v" Can't find the command?. For more information, please follow other related articles on the PHP Chinese website!

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