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

Guanhui
Release: 2023-03-03 08:34:02
Original
3442 people have browsed it

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

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!

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template