当前位置:网站首页>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 !
边栏推荐
- 地质学类比较有名的外文期刊有哪些?
- 项目实战 五 拟合直线 获得中线
- Software testing knowledge reserve: how much do you know about the basic knowledge of "login security"?
- Test the foundation of development, and teach you to prepare for a fully functional web platform environment
- 学习笔记|数据小白使用DataEase制作数据大屏
- POI export to excel: set font, color, row height adaptation, column width adaptation, lock cells, merge cells
- 【从零开始】win10系统部署Yolov5详细过程(CPU,无GPU)
- How to set up in touch designer 2022 to solve the problem that leap motion is not recognized?
- The difference between string constants and string objects when allocating memory
- Cloudcompare point pair selection
猜你喜欢
![[opencv] morphological filtering (2): open operation, morphological gradient, top hat, black hat](/img/45/f3b960e3c56f50674b0e6374cba705.png)
[opencv] morphological filtering (2): open operation, morphological gradient, top hat, black hat

Shared memory for interprocess communication

Etcd database source code analysis -- starting from the start function of raftnode

VMware安装后打开就蓝屏

一段程序让你明白什么静态内部类,局部内部类,匿名内部类

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

Ha Qu projection dark horse posture, only half a year to break through the 1000 yuan projector market!

哈趣投影黑馬之姿,僅用半年强勢突圍千元投影儀市場!

LM11丨重构K线构建择时交易策略

Programmers' daily | daily anecdotes
随机推荐
How to set up in touch designer 2022 to solve the problem that leap motion is not recognized?
String (explanation)
【从零开始】win10系统部署Yolov5详细过程(CPU,无GPU)
tkinter窗口选择pcd文件并显示点云(open3d)
3531. Huffman tree
Programmers' daily | daily anecdotes
[Shell]常用shell命令及测试判断语句总结
UIC(组态UI工程)公版文件库新增7款行业素材
[FPGA] EEPROM based on I2C
Calculation model FPS
Handling hardfault in RT thread
隐马尔科夫模型(HMM)学习笔记
UIC (configuration UI Engineering) public file library adds 7 industry materials
Experience sharing of contribution of "management world"
Ha Qu projection dark horse posture, only half a year to break through the 1000 yuan projector market!
uniapp开发小程序如何使用微信云托管或云函数进行云开发
Linear algebra (1)
哈趣投影黑馬之姿,僅用半年强勢突圍千元投影儀市場!
基于FPGA的VGA协议实现
Leite smart home longhaiqi: from professional dimming to full house intelligence, 20 years of focus on professional achievements