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

How to pretend to be a worker

藏色散人
Release: 2019-12-10 10:52:21
Original
2733 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template