当前位置:网站首页>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 !
边栏推荐
- 快速定量,Abbkine 蛋白质定量试剂盒BCA法来了!
- Go straight to the 2022ecdc fluorite cloud Developer Conference: work with thousands of industries to accelerate intelligent upgrading
- Qtthread, one of many methods of QT multithreading
- Abnova 体外转录 mRNA工作流程和加帽方法介绍
- HKUST & MsrA new research: on image to image conversion, fine tuning is all you need
- [solution] final app status- undefined, exitcode- 16
- How to use wechat cloud hosting or cloud functions for cloud development of unapp development applet
- Navicat导入15G数据报错 【2013 - Lost connection to MySQL server during query】 【1153:Got a packet bigger】
- Software testing knowledge reserve: how much do you know about the basic knowledge of "login security"?
- MySQL installation
猜你喜欢
直击2022ECDC萤石云开发者大会:携手千百行业加速智能升级
Navicat importing 15g data reports an error [2013 - lost connection to MySQL server during query] [1153: got a packet bigger]
Several key steps of software testing, you need to know
Can't you really do it when you are 35 years old?
「解析」FocalLoss 解决数据不平衡问题
反射(二)
Abnova 体外转录 mRNA工作流程和加帽方法介绍
matlab / ENVI 主成分分析实现及结果分析
string(讲解)
港科大&MSRA新研究:关于图像到图像转换,Fine-tuning is all you need
随机推荐
Etcd database source code analysis -- starting from the start function of raftnode
Abnova循环肿瘤DNA丨全血分离,基因组DNA萃取分析
MySQL installation
Pinduoduo lost the lawsuit: "bargain for free" infringed the right to know but did not constitute fraud, and was sentenced to pay 400 yuan
How to find the literature of a foreign language journal?
学习笔记|数据小白使用DataEase制作数据大屏
【OpenCV】形态学滤波(2):开运算、形态学梯度、顶帽、黑帽
LM11丨重构K线构建择时交易策略
Postgresql源码(59)分析事务ID分配、溢出判断方法
POI导出Excel:设置字体、颜色、行高自适应、列宽自适应、锁住单元格、合并单元格...
字符串常量与字符串对象分配内存时的区别
LM小型可编程控制器软件(基于CoDeSys)笔记二十三:伺服电机运行(步进电机)相对坐标转换为绝对坐标
UIC(组态UI工程)公版文件库新增7款行业素材
快速定量,Abbkine 蛋白质定量试剂盒BCA法来了!
Shared memory for interprocess communication
Force deduction 62 different paths (the number of all paths from the upper left to the lower right of the matrix) (dynamic planning)
Niuke Xiaobai monthly race 52 E. sum logarithms in groups (two points & inclusion and exclusion)
What are the classic database questions in the interview?
直击2022ECDC萤石云开发者大会:携手千百行业加速智能升级
ETCD数据库源码分析——从raftNode的start函数说起