Home  >  Article  >  Backend Development  >  How to determine whether linux php is installed successfully

How to determine whether linux php is installed successfully

藏色散人
藏色散人Original
2021-03-22 10:46:361986browse

Linux PHP method to determine whether the installation is successful: first open the command window; then enter and execute the command "#php -v". If the relevant details of PHP are displayed, it means that PHP has been installed successfully.

How to determine whether linux php is installed successfully

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

#php -v

If the relevant details of php are displayed, it means The installation has been successful. If

-bash: php: command not found

is displayed, the installation was unsuccessful.

[Recommended learning: PHP video tutorial]

The above is the detailed content of How to determine whether linux php is installed successfully. 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