Get the App
SLTechnology News&Howtos  ›  Servers  › 

Commands to start, stop, restart php and kill php processes under linux

Shulou Source: shulou.com Published: 2022-06-03 06:18:41 11月16日 Update

Today, the editor will bring you an article that introduces the commands to start, stop, restart php and kill php processes under linux. The editor thinks it is very practical, so I will share it for you as a reference. Let's follow the editor and have a look.

Check to see if php is started

Ps-ef | grep php

Or

Ps-A | grep-I php

Expand knowledge:

Turn on php

Php-fpm start

Stop php

Php-fpm stop

Restart php

Php-fpm restart

Kill process

Kill-9 [pid]

Kill all processes of php

Killall-9 php

This is the end of the commands to start, stop, restart php and kill the php process under inux. I hope the above can be helpful to you and learn more. If you like this article, you might as well share it for more people to see.

Tags: Process command more knowledge practical for this content article read article reference help Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Shulou Information Huawei macOS OPPO Reno