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

  • What is the worker agreement?
    What is the worker agreement?
    WorkerMan supports various protocols on the interface, as long as it conforms to the ConnectionInterface interface. WorkerMan provides HTTP protocol, WebSocket protocol, very simple Text protocol, and frame protocol that can be used for binary transmission.
    Workerman 2349 2019-12-10 16:50:16
  • How does workerman count the number of people online?
    How does workerman count the number of people online?
    How workerman counts the number of people online: Define a global variable to save the number of client connections in the current process, use $connection to determine whether there are new users, add one to the global variable when a new user connects, and then set a timer and use it in the timer onClose determines whether a user is disconnected.
    Workerman 3329 2019-12-10 15:02:47
  • Solution to workerman startup error
    Solution to workerman startup error
    Solution to workerman startup error: 1. The error caused by the port being occupied can be solved by closing the port. 2. The IP parameter of the startup script is written incorrectly, which can be solved by filling in the local IP. 3. The listening port is less than 1024 and requires root privileges. Just use a port greater than 1024 or use the root user to start the service.
    Workerman 3426 2019-12-10 14:28:44
  • How to pretend to be a worker
    How to pretend to be a worker
    How to install Workerman: first detect the installation environment; then download the "Workerman-master" installation package; then modify the directory name; finally create a test file "test_posterman.php" and run the file in the "linux" file.
    Workerman 2701 2019-12-10 10:52:21
  • What is the worker framework?
    What is the worker framework?
    Workerman is an open source high-performance asynchronous PHP socket instant messaging framework. Workerman itself is a PHP multi-process server framework with modules for PHP process management and socket communication.
    Workerman 2678 2019-12-10 09:10:20
  • Reasons and solutions for workerman failure to start
    Reasons and solutions for workerman failure to start
    Reasons why Workerman cannot start: The most common reason is that the startup script cannot find the main process pid file. Solution: 1. Upgrade Workerman to version 3.2.2 or above. 2. First use the kill command to kill the process and then store the pid file in a safe place.
    Workerman 3473 2019-12-09 09:14:32
  • How to start workererman under linux
    How to start workererman under linux
    How to start Workerman under Linux: First create a startup entry file (start.php) and define the port and protocol for service monitoring. Then use the command php start.php start or the command php start.php start -d to start.
    Workerman 4864 2019-12-06 15:07:18
  • How workerman stays connected
    How workerman stays connected
    The workerman can send heartbeat data regularly through the client and server to keep the connection from being disconnected. Currently, GatewayWorker supports two types of heartbeat detection. The server can set a number of seconds to close the connection if no heartbeat is received (recommended). It also supports the server to send heartbeat data to the client regularly (not recommended).
    Workerman 4368 2019-12-06 14:50:30
  • linux detects whether workerman is supported
    linux detects whether workerman is supported
    To check whether linux supports workerman, use the "curl -Ss http://www.workerman.net/check.php|php" command. If the posix extension is not installed, you can use the yum install php-process command to install it.
    Workerman 2489 2019-12-06 10:00:20
  • Reasons and solutions why workerman cannot start
    Reasons and solutions why workerman cannot start
    Reasons and solutions for why workerman cannot start: 1. The port is occupied and cannot be started. Solved by closing the occupied port. 2. The IP parameter of the startup script is incorrect. Just fill in the local IP to solve the problem. 3. The stream_socket_server function is disabled by php.ini. Just delete the disabled item.
    Workerman 4240 2019-12-06 09:30:12
  • How to kill worker process
    How to kill worker process
    Method 1: Enter fg (send SIGCONT signal) in the terminal where Workerman is started and press Enter to switch Workerman back to the foreground and press ctrl c (Send SIGINT signal) to stop Workerman. Method two: killall -9 php.
    Workerman 5868 2019-12-06 09:20:19
  • Does workerman need to be installed?
    Does workerman need to be installed?
    workerman needs to be installed. Installation steps: 1. Check the installation environment. 2. Download the Workerman-master installation package. 3. Create a startup file. 4. Use the php xxx.php start command to start workererman.
    Workerman 2317 2019-12-06 09:17:26
  • Installation steps of workererman in linux system
    Installation steps of workererman in linux system
    The installation steps of "workerman" in the "linux" system are: first, you need to detect the installation environment, then download the "workerman" installation package, then modify the installation directory name, then write the test file, and finally run the test file in the "linux" system for testing That’s it.
    Workerman 2781 2019-12-05 17:34:17
  • How to install workerman in linux environment
    How to install workerman in linux environment
    How to install Workerman in Linux environment: 1. Download the WorkerMan source code package through wget password. 2. Unzip the downloaded source code package. 3. Rename Workerman-master. 4. Create the test.php file and execute it to check whether the installation is successful.
    Workerman 2608 2019-12-05 15:51:15
  • Is php workerman asynchronous?
    Is php workerman asynchronous?
    php workerman is asynchronous. Workerman official introduction: Workerman is an open source high-performance asynchronous PHP socket instant messaging framework. It supports high concurrency and ultra-high stability, and is widely used in the development of mobile apps, mobile communications, WeChat applets, mobile game servers, online games, etc.
    Workerman 2863 2019-12-05 11:57:17

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