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

How to check whether php is started under linux

王林
王林Original
2020-05-16 13:58:566519browse

How to check whether php is started under linux

Check whether php is started

ps -ef | grep php

or

ps -A | grep -i php

Expand knowledge:

Open php

php-fpm start

Stop php

php-fpm stop

Restart php

php-fpm restart

Kill the process

kill -9 【pid】

Kill all php processes

killall -9 php

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!

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