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