Home >PHP Framework >Workerman >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
After the extension installation is completed, check the PHP environment again and it will show that everything is normal.
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!