Home > Article > PHP Framework > 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
such 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.
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!