What should I do if swoole cannot be installed under win?
Apr 09, 2020 am 10:28 AMswoole What should I do if I can’t install it under win?
The server uses a Linux environment, so you only need to read the documentation for the installation process of swoole.
Since the coding environment is on Windows, swoole needs to be installed on Windows. for testing purposes.
Okay, without further ado, let’s look at the official website document solution.
swoole's official website document writes:
CygWin environment support (Windows system)
swoole-1.7.7 adds support for the cygwin environment. In Windows environment, you can directly use cygwin php to run the swoole program.
Install cygwin and install the four packages gcc, make, autoconf, and php
Download the swoole source code and perform phpize/configure/make/make install
## in cygwin-shell #Modify php.ini and add swoole.soIn cygwin mode, PHP needs to be simplified and unused extensions removed to avoid the process occupying too much memory and causing the Fork operation to failAccording to the tutorial , I installed cygwin64. Then use the command to install swoole, and the same problem occurs as in Linux1 |
|
1 |
|
1 2 |
|
1 |
|
1 |
|
1 |
|
The above is the detailed content of What should I do if swoole cannot be installed under win?. For more information, please follow other related articles on the PHP Chinese website!

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Which one is better, swoole or workerman?

How to use Swoole to implement a high-performance HTTP reverse proxy server

How does swoole_process allow users to switch?

How to use swoole coroutine in laravel

How to restart the service in swoole framework

Which one has better performance, swoole or java?

Swoole Advanced: How to Optimize Server CPU Utilization

Swoole in action: How to use coroutines for concurrent task processing
