Home > Article > Operation and Maintenance > How to check whether php is installed on centos
How to check whether php is installed in centos:
1. First connect to the centos host and enter the linux command line state waiting for input instructions.
2. Enter: php -v and press Enter.
#3. At this time, the detailed information of PHP installation will be printed out, and the installation status of PHP can be detected in turn.
Related video tutorial recommendations: linux video tutorial
The above is the detailed content of How to check whether php is installed on centos. For more information, please follow other related articles on the PHP Chinese website!