Home > Operation and Maintenance > Linux Operation and Maintenance > How to check whether php is started under linux

How to check whether php is started under linux

王林
Release: 2020-05-16 13:58:56
Original
6607 people have browsed it

How to check whether php is started under linux

Check whether php is started

ps -ef | grep php
Copy after login

or

ps -A | grep -i php
Copy after login

Expand knowledge:

Open php

php-fpm start
Copy after login

Stop php

php-fpm stop
Copy after login

Restart php

php-fpm restart
Copy after login

Kill the process

kill -9 【pid】
Copy after login

Kill all php processes

killall -9 php
Copy after login

Recommended tutorial: linux tutorial

The above is the detailed content of How to check whether php is started 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