Home  >  Article  >  PHP Framework  >  linux detects whether workerman is supported

linux detects whether workerman is supported

尚
Original
2019-12-06 10:00:202483browse

linux detects whether workerman is supported

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... Enter After entering the terminal with root and password, find the root directory of the site. First, use the official script to test whether the PHP environment of the server meets the WorkerMan permission requirements: Recommendation: workermanTutorial

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

linux detects whether workerman is supportedsuch as 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 shows that everything is normal.

linux detects whether workerman is supported

The above is the detailed content of linux detects whether workerman is supported. 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