当前位置:网站首页>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 !
边栏推荐
- 骑士战胜魔王(背包&dp)
- POI export to excel: set font, color, row height adaptation, column width adaptation, lock cells, merge cells
- 循环肿瘤细胞——Abnova 解决方案来啦
- Force deduction 62 different paths (the number of all paths from the upper left to the lower right of the matrix) (dynamic planning)
- string(讲解)
- Party A's requirements for those who have lost 800 yuan
- tkinter窗口选择pcd文件并显示点云(open3d)
- 拼多多败诉:“砍价免费拿”侵犯知情权但不构成欺诈,被判赔400元
- matlab / ENVI 主成分分析实现及结果分析
- dolphinscheduler3.x本地启动
猜你喜欢
693. Travel sequencing
3531. Huffman tree
uniapp开发小程序如何使用微信云托管或云函数进行云开发
3428. Put apples
MySQL installation
港科大&MSRA新研究:关于图像到图像转换,Fine-tuning is all you need
Which foreign language periodicals are famous in geology?
[FPGA] EEPROM based on I2C
Can't you really do it when you are 35 years old?
Ant manor safety helmet 7.8 ant manor answer
随机推荐
Unity C# 函数笔记
Haqi projection Black Horse posture, avec seulement six mois de forte pénétration du marché des projecteurs de 1000 yuans!
中英文说明书丨ProSci LAG-3 重组蛋白
Pinduoduo lost the lawsuit: "bargain for free" infringed the right to know but did not constitute fraud, and was sentenced to pay 400 yuan
怎样查找某个外文期刊的文献?
POI导出Excel:设置字体、颜色、行高自适应、列宽自适应、锁住单元格、合并单元格...
[solution] final app status- undefined, exitcode- 16
Abnova 体外转录 mRNA工作流程和加帽方法介绍
Tkinter window selects PCD file and displays point cloud (open3d)
C language interview to write a function to find the first public string in two strings
缓存在高并发场景下的常见问题
js装饰器@decorator学习笔记
MySQL的安装
Google Chrome browser released patch 103.0.5060.114 to fix the 0-day vulnerability
【OpenCV】形态学滤波(2):开运算、形态学梯度、顶帽、黑帽
Problems and precautions about using data pumps (expdp, impdp) to export and import large capacity tables in Oracle migration
开发者别错过!飞桨黑客马拉松第三期链桨赛道报名开启
FlexRay通信协议概述
2022Android面试必备知识点,一文全面总结
Niuke Xiaobai monthly race 52 E. sum logarithms in groups (two points & inclusion and exclusion)