Home  >  Article  >  Backend Development  >  How to confirm that php installation is successful in linux

How to confirm that php installation is successful in linux

藏色散人
藏色散人Original
2021-05-11 09:39:391521browse

Linux method to confirm the successful installation of PHP: first open the command window; then enter the "#php -v" command; finally execute the command. If the result displays the relevant details of PHP, it means that the installation has been successful.

How to confirm that php installation is successful in linux

The operating environment of this article: linux5.9.8 system, PHP7.1 version, DELL G3 computer

#php -v

If the relevant details of php are displayed , indicating that the installation has been successful. If

-bash: php: command not found

is displayed, the installation is unsuccessful.

Recommended learning: "PHP Video Tutorial"

The above is the detailed content of How to confirm that php installation is successful in linux. 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