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

How to check whether php-fpm is installed under Linux

青灯夜游
Release: 2023-02-17 20:56:02
Original
3232 people have browsed it

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
Copy after login

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]#
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template