Home >PHP Framework >Workerman >How to pretend to be a worker

How to pretend to be a worker

藏色散人
藏色散人Original
2019-12-10 10:52:212739browse

How to pretend to be a worker

workermanHow to install it?

Workerman installation process

The first step is to detect the installation environment

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

How to pretend to be a worker

The operation result shows an error. You need to find the php.ini file

Recommendation:workerman tutorial

The solution is as follows:

Open php.ini, find the disable_functions item, and delete the stream_socket_server disabled item.

Download the Workerman-master installation package

How to pretend to be a worker

mv Workerman-master Workerman Modify the directory name

How to pretend to be a worker

Then you need to make a test file test_posterman.php file

How to pretend to be a worker

Run this test file in the linux file and the result will be as follows

How to pretend to be a worker

workerman Development Document

http://doc.workerman.net/development/before-development.html

The above is the detailed content of How to pretend to be a worker. 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