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

Does workerman have a daemon?

(*-*)浩
(*-*)浩Original
2019-12-05 10:32:054456browse

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

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

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 守护模式启动)

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!

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