Home > PHP Framework > Workerman > body text

Summarize the commands related to starting and stopping Workerman

青灯夜游
Release: 2022-03-15 10:39:54
forward
4052 people have browsed it

This article will introduce to you workerman related 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
Copy after login
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
Copy after login

2. Stop

php start.php stop
Copy after login

3. Restart

php start.php restart
Copy after login

4. Smooth restart

php start.php reload
Copy after login

5. Check the status

php start.php status
Copy after login

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

php start.php connections
Copy after login
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!

Related labels:
source:csdn.net
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!