Workerman needs to be installed. Let’s take a look at how to install Workerman. (Recommended: workerman tutorial)
The first step is to detect the installation environment
curl -Ss http://www.workerman.net/check.php | php
The operation result shows an error. You need to find the php.ini file.
The solution is as follows:
1. Open php.ini and find the disable_functions item. , delete the stream_socket_server disabled item.
Download the Workerman-master installation package
mv Workerman-master Workerman Modify the directory name
Running this test file in a linux file displays the following results
The above is the detailed content of Does workerman need to be installed?. For more information, please follow other related articles on the PHP Chinese website!