current location:Home > Technical Articles > PHP Framework > Workerman

  • What should I do if workerman fails to start?
    What should I do if workerman fails to start?
    Workerman fails to start because the port is occupied. The solution is: first use the command "netstat -anp | grep port number" to find out which program occupies the port; then stop the corresponding program to release the port.
    Workerman 3374 2019-12-12 13:31:06
  • How does worker open the port?
    How does worker open the port?
    How to open the port in workererman: First, request a security policy file on port 843 of the corresponding server; then add the code "<?php use Workerman\Worker;require_once __DIR__ . ''" in workererman to open the port.
    Workerman 3791 2019-12-12 13:23:56
  • What can workerman do in the project?
    What can workerman do in the project?
    Workerman can develop tcp proxy, ladder proxy, game server, mail server, ftp server, and even develop a php version of redis, php version of database, php version of nginx, php version of php-fpm, etc. in the project.
    Workerman 2774 2019-12-12 11:11:22
  • How to develop worker cluster
    How to develop worker cluster
    GatewayWorker is based on a project framework developed by Workerman; GatewayWorker uses the Register service to establish divided clusters. The same cluster uses the same Register service IP and port.
    Workerman 3576 2019-12-12 10:20:10
  • Can workerman be executed in multiple processes?
    Can workerman be executed in multiple processes?
    Workerman can be executed by multiple processes. In order to give full play to the performance of the server's multi-CPU, WorkerMan supports multi-process and multi-tasking by default. WorkerMan starts a main process and multiple sub-processes to provide services to the outside world. The main process is responsible for monitoring the sub-processes, and the sub-processes independently monitor network connections and receive, send and process data.
    Workerman 5610 2019-12-12 10:10:41
  • What to do if workerman connection error occurs
    What to do if workerman connection error occurs
    If the port is occupied, it cannot be started. You can use the command netstat -anp | grep port number to find out which program occupies the port, and then stop the corresponding program to release the port to solve the problem. If the program corresponding to the port cannot be stopped, you can solve the problem by changing the worker port.
    Workerman 2853 2019-12-12 10:01:39
  • How to multi-thread workerman
    How to multi-thread workerman
    Workerman has a multi-threaded version of MT that relies on the pthreads extension. workerman\mqtt is an asynchronous mqtt client library based on workerman, which can be used to receive or send mqtt protocol messages.
    Workerman 4194 2019-12-12 09:58:53
  • What are the steps to use workerman?
    What are the steps to use workerman?
    Create a websocket Worker to maintain a long client connection; create a text Worker inside the websocket Worker; open an internal port to facilitate the internal system to push data; push data to the uid page through the workererman; and return the push results.
    Workerman 3566 2019-12-12 09:49:06
  • Does worker charge?
    Does worker charge?
    There is no charge for Workerman. Workerman is open source and free software, and the license agreement is MIT. The MIT License is one of the most widely used software licensing terms. Compared with other common software licensing terms, MIT is a relatively loose software licensing term.
    Workerman 2137 2019-12-12 09:40:46
  • Is worker efficient?
    Is worker efficient?
    The worker is efficient. Workerman is completely developed using PHP. Applications developed using Workerman can run independently without relying on containers such as php-fpm, apache, and nginx. This makes it very convenient for PHP developers to develop, deploy, and debug applications.
    Workerman 2389 2019-12-12 09:32:37
  • How does workerman implement group chat?
    How does workerman implement group chat?
    First, establish a websocket connection between the web page and GatewayWorker. After the web page accepts the client_id, it triggers an ajax request and sends the client_id to the mvc backend. Then call Gateway to implement id binding, post/get page requests to the mvc framework for unified processing, and so on.
    Workerman 6854 2019-12-12 09:32:14
  • How does workerman work?
    How does workerman work?
    The command line operation uses php start.php start to start workererman. First download workerman, https://www.workerman.net/download; after downloading, create a new file start.php in the workerman file.
    Workerman 2949 2019-12-12 09:23:18
  • Prevent workererman from exiting due to terminal shutdown under Linux system
    Prevent workererman from exiting due to terminal shutdown under Linux system
    The solution to prevent Workerman from exiting due to terminal shutdown under Linux system: First, Workerman has two startup modes under Linux system: 1. Debug mode; 2. Daemon mode. Since closing the terminal in daemon mode does not affect workererman, it can be started in daemon mode.
    Workerman 2914 2019-12-11 13:42:17
  • Workerman cannot be started under Linux system
    Workerman cannot be started under Linux system
    The reason why Workerman cannot be started under the Linux system is: the [event] extension is not installed and the [so] file does not exist. If there are few online users (a few hundred users), you do not need to install this extension. The solution is: comment out this extension in the [php.ini] configuration file to solve the problem.
    Workerman 2530 2019-12-11 13:18:46
  • Cannot connect to workererman under CentOS7
    Cannot connect to workererman under CentOS7
    The solution to the problem of being unable to connect to the Workerman framework under CentOS7 is: 1. First, you need to confirm whether the corresponding port is open, for example, whether the [Alibaba ecs] security group port is open; 2. If the port is open, it may be because the firewall has not been closed, execute the corresponding Just command to temporarily turn off the firewall.
    Workerman 2404 2019-12-11 11:37:48

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28