当前位置:网站首页>How to install swoole under window
How to install swoole under window
2022-07-07 06:34:00 【Rookie No.1 mmmm】
Cygwin website :http://www.cygwin.com/
install Cygwin:
1: Click on exe The installation files 
Click next 
choice install from internet Click next

Custom installation directory , Do not install it on the system disk , Click next

Select the download directory , Click next

choice direct connection Click next 
7、 Choose a mirror source , Fill in url Click Add , Select the added image source , Click next (http://cygwin.mirror.constant.com, New image source )

Select the dependent packages to install 
notes : choice Category, And in Search Write the tools to be installed in the box

Such as :libpcre-devel

All required tools and extensions are shown in the figure below :

Click next to install , The rest is automatic installation , You may need to check two boxes at the end , Is the creation of icons and shortcut keys , Select Check .
Capacity expansion Cygwin Available memory space :
Open registration list

Choose new Cygwin Of QWORD(32 Bit, please select DWORD)
Name bit heap_chunk_in_mb, Value bits 2048MB( You can choose , Don't be too small , best 1G above , Also look at it. windows System memory size )
Right click Modify , Choose decimal , Numerical value filling 2048
Restart the computer .
install swoole
Github website : Click here to jump to github
choice gz Package download , Download and copy to cygwin Install under directory home Under the table of contents 
After clicking on cygwin Shortcut key to enter the virtual terminal
And extract the home Just downloaded under the directory swoole The installation package to /usr/local/swoole Next ( If /usr/local/swoole non-existent , Create this folder )
After decompression, enter /usr/local/swoole/swoole-src-4.2.0/
Enter the command :phpize, Generate the compiled configuration file configure
Enter the command :./configure && make && make install
To configure 、 compile 、 Compilation and installation swoole
Use command : php -i | grep php.ini, find php cli The configuration file used php.ini The path of , modify php.ini file , Add a line to the file :extension=swoole.dll( yes windows Extended swoole.dll, Not pictures swoole.so), Then close and exit 
6 /extension lookup Press n Search again 
7 add to extension=swoole.dll( yes dll No so)

8 :wq Save and exit
9 Use command :php -m, View the loaded modules , If you see swoole, The extension is added successfully , This environment has been built successfully !
边栏推荐
- 线性代数(一)
- Three updates to build applications for different types of devices | 2022 i/o key review
- Several key steps of software testing, you need to know
- c语言(结构体)定义一个User结构体,含以下字段:
- ST表预处理时的数组证明
- Doctoral application | Professor Hong Liang, Academy of natural sciences, Shanghai Jiaotong University, enrolls doctoral students in deep learning
- MySQL(十)
- Tkinter window selects PCD file and displays point cloud (open3d)
- How to use wechat cloud hosting or cloud functions for cloud development of unapp development applet
- HKUST & MsrA new research: on image to image conversion, fine tuning is all you need
猜你喜欢

程序员的日常 | 每日趣闻

BindingException 异常(报错)处理

POI导出Excel:设置字体、颜色、行高自适应、列宽自适应、锁住单元格、合并单元格...

MySQL卸载文档-Windows版

直击2022ECDC萤石云开发者大会:携手千百行业加速智能升级
![Navicat importing 15g data reports an error [2013 - lost connection to MySQL server during query] [1153: got a packet bigger]](/img/13/096857158c9f977f8677f7cd0f9d4b.png)
Navicat importing 15g data reports an error [2013 - lost connection to MySQL server during query] [1153: got a packet bigger]

学术报告系列(六) - Autonomous Driving on the journey to full autonomy

Linear algebra (1)

Handling hardfault in RT thread
![[start from scratch] detailed process of deploying yolov5 in win10 system (CPU, no GPU)](/img/77/bd80ed602208be6a9ef8be60c6ad06.png)
[start from scratch] detailed process of deploying yolov5 in win10 system (CPU, no GPU)
随机推荐
Prompt for channel security on the super-v / device defender side when installing vmmare
String (explanation)
雷特智能家居龙海祁:从专业调光到全宅智能,20年专注成就专业
Force deduction 62 different paths (the number of all paths from the upper left to the lower right of the matrix) (dynamic planning)
Unity C# 函数笔记
3531. Huffman tree
如何解决数据库插入数据显示SQLSTATE[HY000]: General error: 1364 Field ‘xxxxx‘ doesn‘t have a default value错误
屏幕程序用串口无法调试情况
Redis(二)—Redis通用命令
Postgresql源码(59)分析事务ID分配、溢出判断方法
【OpenCV】形态学滤波(2):开运算、形态学梯度、顶帽、黑帽
Abnova 免疫组化服务解决方案
What are the classic database questions in the interview?
K8s running Oracle
Knight defeats demon king (Backpack & DP)
JVM 全面深入
UIC(组态UI工程)公版文件库新增7款行业素材
Programmers' daily | daily anecdotes
POI导出Excel:设置字体、颜色、行高自适应、列宽自适应、锁住单元格、合并单元格...
[solution] final app status- undefined, exitcode- 16