search
HomeBackend DevelopmentPHP ProblemHow to check if php-fpm is installed on Linux

In Linux, you can use the "whereis php-fpm" or "find / -name php-fpm" command to check whether php-fpm is installed. Both commands can output the installation location of php-fpm. How to output the location information normally requires installing php-fpm.

How to check if php-fpm is installed on Linux

The operating environment of this tutorial: Red Hat Enterprise Linux 6.1 system, PHP7.1, Dell G3 computer.

How to check whether php-fpm is installed on Linux:

Use "whereis php-fpm" Or "find / -name php-fpm" command, you can check the location of php-fpm, if there is one, install it

[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
[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]#

View php under linux How to check whether -fpm is enabled

1. Check whether php-fpm is enabled

Command: ps -ef|grep php

The results are as follows:

How to check if php-fpm is installed on Linux

#This is not enabled.

2. Open php-fpm

command: /usr/local/bin/php-fpm

3. Enter the command again ps -ef|grep php, check whether it has been turned on

How to check if php-fpm is installed on Linux

This is already turned on.

Recommended learning: "PHP Video Tutorial"

The above is the detailed content of How to check if php-fpm is installed on 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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools