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

How to confirm that php installation is successful in linux

藏色散人
Release: 2023-03-09 15:36:02
Original
1577 people have browsed it

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
Copy after login

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

-bash: php: command not found
Copy after login

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!

Related labels:
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