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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

Atom editor mac version download
The most popular open source editor

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

SublimeText3 English version
Recommended: Win version, supports code prompts!

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.
