Home > PHP Framework > Workerman > Does workerman have a daemon?

Does workerman have a daemon?

(*-*)浩
Release: 2019-12-05 10:32:05
Original
4508 people have browsed it

Does workerman have a daemon?

Installing Workerman is actually very simple. As long as you know a simple Linux password, you can do it. Here I will show you how to install Workerman. There is no need to demonstrate the process of entering the terminal... ( Recommended learning: workerman tutorial)

Enter root and password to enter the terminal and find the site root directory. First use the official built-in script to test whether the server's PHP environment meets the WorkerMan permission requirements

curl -Ss http://www.workerman.net/check.php | php
Copy after login

As shown in the figure, the posix extension of this machine is not installed, then we use the following command to install pcntl and posix extension.

yum install php-process
Copy after login

Does workerman have a daemon?After the extension installation is completed, check the PHP environment again and it will show that everything is normal.

Does workerman have a daemon?Start in daemon mode to run workerman in the background. Task:

php start.php start -d  (-d 守护模式启动)
Copy after login

The above is the detailed content of Does workerman have a daemon?. 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