current location:Home > Technical Articles > PHP Framework > Workerman
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- 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 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: 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 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?
- 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 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 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
- 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
- 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 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
- 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?
- 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
- 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: 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?
- 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