当前位置:网站首页>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 !
边栏推荐
- 屏幕程序用串口无法调试情况
- What are the classic database questions in the interview?
- UIC (configuration UI Engineering) public file library adds 7 industry materials
- C语言面试 写一个函数查找两个字符串中的第一个公共字符串
- c面试 加密程序:由键盘输入明文,通过加密程序转换成密文并输出到屏幕上。
- C interview 24 (pointer) define a double array with 20 elements a
- 牛客小白月赛52 E.分组求对数和(二分&容斥)
- POI导出Excel:设置字体、颜色、行高自适应、列宽自适应、锁住单元格、合并单元格...
- dolphinscheduler3.x本地启动
- How to solve sqlstate[hy000]: General error: 1364 field 'xxxxx' doesn't have a default value error
猜你喜欢
Audio distortion analysis of DSP and DAC based on adau1452
开发者别错过!飞桨黑客马拉松第三期链桨赛道报名开启
一段程序让你明白什么静态内部类,局部内部类,匿名内部类
哈趣投影黑馬之姿,僅用半年强勢突圍千元投影儀市場!
字符串常量与字符串对象分配内存时的区别
Learning notes | data Xiaobai uses dataease to make a large data screen
基于FPGA的VGA协议实现
dolphinscheduler3.x本地启动
ICML 2022 | 探索语言模型的最佳架构和训练方法
How to set up in touch designer 2022 to solve the problem that leap motion is not recognized?
随机推荐
C interview encryption program: input plaintext by keyboard, convert it into ciphertext through encryption program and output it to the screen.
C language interview to write a function to find the first occurrence of substring m in string n.
Open the blue screen after VMware installation
如何解决数据库插入数据显示SQLSTATE[HY000]: General error: 1364 Field ‘xxxxx‘ doesn‘t have a default value错误
How to solve sqlstate[hy000]: General error: 1364 field 'xxxxx' doesn't have a default value error
Party A's requirements for those who have lost 800 yuan
matlab / ENVI 主成分分析实现及结果分析
"Parse" focalloss to solve the problem of data imbalance
PostgreSQL database timescaledb function time_ bucket_ Gapfill() error resolution and license replacement
Pinduoduo lost the lawsuit: "bargain for free" infringed the right to know but did not constitute fraud, and was sentenced to pay 400 yuan
牛客小白月赛52 E.分组求对数和(二分&容斥)
Force deduction 62 different paths (the number of all paths from the upper left to the lower right of the matrix) (dynamic planning)
JWT 认证
隐马尔科夫模型(HMM)学习笔记
ST表预处理时的数组证明
程序员的日常 | 每日趣闻
Leite smart home longhaiqi: from professional dimming to full house intelligence, 20 years of focus on professional achievements
Symmetric binary tree [tree traversal]
JWT certification
How to keep accounts of expenses in life