Home>Article>PHP Framework> Summarize the commands related to starting and stopping Workerman

Summarize the commands related to starting and stopping Workerman

青灯夜游
青灯夜游 forward
2021-03-16 10:39:19 4005browse

This article will introduce to youworkermanrelated commands to start and stop. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.

Summarize the commands related to starting and stopping Workerman

##Related recommendations: "

workerman Tutorial"

start.php is the entry file

一, Start

1. Start in debug mode (this is after startup, and the startup will be interrupted after shutdown)

php start.php start
2. Use daemon (daemon process) method to start (this is started by the process, the formal environment needs to enable this)

php start.php start -d

2. Stop

php start.php stop

3. Restart

php start.php restart

4. Smooth restart

php start.php reload

5. Check the status

php start.php status

6. Check the connection status (Workerman required Version>=3.5.0)

php start.php connections
For more programming-related knowledge, please visit:

Programming Video! !

The above is the detailed content of Summarize the commands related to starting and stopping Workerman. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete