当前位置:网站首页>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 !
边栏推荐
- "Parse" focalloss to solve the problem of data imbalance
- 【解决】Final app status- UNDEFINED, exitCode- 16
- C语言整理(待更新)
- Several key steps of software testing, you need to know
- Google Chrome browser released patch 103.0.5060.114 to fix the 0-day vulnerability
- C language interview to write a function to find the first occurrence of substring m in string n.
- 项目实战 五 拟合直线 获得中线
- 开发者别错过!飞桨黑客马拉松第三期链桨赛道报名开启
- [solution] final app status- undefined, exitcode- 16
- Cloudcompare point pair selection
猜你喜欢
Which foreign language periodicals are famous in geology?
CloudCompare-点对选取
哈趣投影黑馬之姿,僅用半年强勢突圍千元投影儀市場!
Redis(二)—Redis通用命令
Markdown displays pictures side by side
Redis (II) - redis General Command
程序员的日常 | 每日趣闻
Implementation of VGA protocol based on FPGA
MySQL卸载文档-Windows版
"Parse" focalloss to solve the problem of data imbalance
随机推荐
Symmetric binary tree [tree traversal]
JWT certification
rt-thread 中对 hardfault 的处理
360 Zhiyu released 7.0 new products to create an exclusive "unified digital workspace" for the party, government and army, and central and state-owned enterprises
反射(二)
谷歌 Chrome 浏览器发布 103.0.5060.114 补丁修复 0-day 漏洞
Developers don't miss it! Oar hacker marathon phase III chain oar track registration opens
软件测试到了35岁,真的就干不动了吗?
Abnova 体外转录 mRNA工作流程和加帽方法介绍
C语言面试 写一个函数查找两个字符串中的第一个公共字符串
Several key steps of software testing, you need to know
Ant manor safety helmet 7.8 ant manor answer
中英文说明书丨ProSci LAG-3 重组蛋白
How to use wechat cloud hosting or cloud functions for cloud development of unapp development applet
How to set up in touch designer 2022 to solve the problem that leap motion is not recognized?
Laravel uses Tencent cloud cos5 full tutorial
2022Android面试必备知识点,一文全面总结
哈趣投影黑馬之姿,僅用半年强勢突圍千元投影儀市場!
[SOC FPGA] custom IP PWM breathing lamp
港科大&MSRA新研究:关于图像到图像转换,Fine-tuning is all you need