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.
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!