当前位置:网站首页>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 !
边栏推荐
- Abnova 免疫组化服务解决方案
- C面试24. (指针)定义一个含有20个元素的double型数组a
- Doctoral application | Professor Hong Liang, Academy of natural sciences, Shanghai Jiaotong University, enrolls doctoral students in deep learning
- [solution] final app status- undefined, exitcode- 16
- Software testing knowledge reserve: how much do you know about the basic knowledge of "login security"?
- Apache ab 压力测试
- [start from scratch] detailed process of deploying yolov5 in win10 system (CPU, no GPU)
- 拼多多败诉:“砍价免费拿”侵犯知情权但不构成欺诈,被判赔400元
- [shell] summary of common shell commands and test judgment statements
- MySQL卸载文档-Windows版
猜你喜欢

Three updates to build applications for different types of devices | 2022 i/o key review

Redis (II) - redis General Command

BindingException 异常(报错)处理

How to use wechat cloud hosting or cloud functions for cloud development of unapp development applet

2022 Android interview essential knowledge points, a comprehensive summary

Cloudcompare point pair selection

uniapp开发小程序如何使用微信云托管或云函数进行云开发

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

Ant manor safety helmet 7.8 ant manor answer

面试中有哪些经典的数据库问题?
随机推荐
Install mongodb database
[SOC FPGA] custom IP PWM breathing lamp
Markdown displays pictures side by side
安装VMmare时候提示hyper-v / device defender 侧通道安全性
学术报告系列(六) - Autonomous Driving on the journey to full autonomy
[Shell]常用shell命令及测试判断语句总结
How to solve sqlstate[hy000]: General error: 1364 field 'xxxxx' doesn't have a default value error
港科大&MSRA新研究:关于图像到图像转换,Fine-tuning is all you need
Abnova 体外转录 mRNA工作流程和加帽方法介绍
JVM in-depth
Ant manor safety helmet 7.8 ant manor answer
Navicat importing 15g data reports an error [2013 - lost connection to MySQL server during query] [1153: got a packet bigger]
力扣62 不同路径(从矩阵左上到右下的所有路径数量) (动态规划)
屏幕程序用串口无法调试情况
Laravel uses Tencent cloud cos5 full tutorial
2022Android面试必备知识点,一文全面总结
Experience sharing of contribution of "management world"
谷歌 Chrome 浏览器发布 103.0.5060.114 补丁修复 0-day 漏洞
2022 Android interview essential knowledge points, a comprehensive summary
How can I check the DOI number of a foreign document?