当前位置:网站首页>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 !
边栏推荐
- JWT 认证
- Postgresql源码(60)事务系统总结
- Leite smart home longhaiqi: from professional dimming to full house intelligence, 20 years of focus on professional achievements
- Wechat applet hides the progress bar component of the video tag
- Laravel uses Tencent cloud cos5 full tutorial
- Abnova循环肿瘤DNA丨全血分离,基因组DNA萃取分析
- PostgreSQL database timescaledb function time_ bucket_ Gapfill() error resolution and license replacement
- CloudCompare-点对选取
- The difference between string constants and string objects when allocating memory
- Redis(一)——初识Redis
猜你喜欢
Overview of FlexRay communication protocol
软件测试到了35岁,真的就干不动了吗?
Apache ab 压力测试
屏幕程序用串口无法调试情况
Open the blue screen after VMware installation
PostgreSQL database timescaledb function time_ bucket_ Gapfill() error resolution and license replacement
Abnova 体外转录 mRNA工作流程和加帽方法介绍
Laravel uses Tencent cloud cos5 full tutorial
Abnova循环肿瘤DNA丨全血分离,基因组DNA萃取分析
How can I check the DOI number of a foreign document?
随机推荐
Overview of FlexRay communication protocol
哈趣投影黑马之姿,仅用半年强势突围千元投影仪市场!
Force deduction 62 different paths (the number of all paths from the upper left to the lower right of the matrix) (dynamic planning)
博士申请 | 上海交通大学自然科学研究院洪亮教授招收深度学习方向博士生
C面试24. (指针)定义一个含有20个元素的double型数组a
「运维有小邓」符合GDPR的合规要求
[start from scratch] detailed process of deploying yolov5 in win10 system (CPU, no GPU)
[opencv] morphological filtering (2): open operation, morphological gradient, top hat, black hat
Programmers' daily | daily anecdotes
Laravel uses Tencent cloud cos5 full tutorial
3428. Put apples
c语言面试写一个函数在字符串N中查找第一次出现子串M的位置。
反射(二)
开发者别错过!飞桨黑客马拉松第三期链桨赛道报名开启
Abnova 体外转录 mRNA工作流程和加帽方法介绍
Software testing knowledge reserve: how much do you know about the basic knowledge of "login security"?
直击2022ECDC萤石云开发者大会:携手千百行业加速智能升级
UIC (configuration UI Engineering) public file library adds 7 industry materials
Google Chrome browser released patch 103.0.5060.114 to fix the 0-day vulnerability
C language sorting (to be updated)