Home  >  Article  >  Backend Development  >  How to check whether php-fpm is installed under Linux

How to check whether php-fpm is installed under Linux

青灯夜游
青灯夜游Original
2021-03-18 17:45:273150browse

How to check whether php-fpm is installed under Linux: Open the terminal and execute the "whereis php-fpm" or "find / -name php-fpm" command. If the installation location of php-fpm is successfully output, then Indicates that it is installed.

How to check whether php-fpm is installed under Linux

The operating environment of this tutorial: centos7 system, PHP5.6 version, DELL G3 computer

View php under linux - Whether fpm is installed

Method one, whereis php-fpm

[me@VM_0_14_centos application]# whereis php-fpm
php-fpm: 
/usr/sbin/php-fpm 
/etc/php-fpm.conf 
/etc/php-fpm.d 
/usr/share/man/man8/php-fpm.8.gz

Method two, find / -name php-fpm

[me@VM_0_14_centos application]# find / -name php-fpm
/var/log/php-fpm
/usr/sbin/php-fpm
/etc/sysconfig/php-fpm
/etc/logrotate.d/php-fpm
/run/php-fpm
[root@VM_0_14_centos application]#

Recommended learning: "PHP Video Tutorial"

The above is the detailed content of How to check whether php-fpm is installed under Linux. 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