当前位置:网站首页>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 !
边栏推荐
- C language interview to write a function to find the first public string in two strings
- Audio distortion analysis of DSP and DAC based on adau1452
- JWT certification
- Qtthread, one of many methods of QT multithreading
- ETCD数据库源码分析——从raftNode的start函数说起
- [solution] final app status- undefined, exitcode- 16
- Shared memory for interprocess communication
- 隐马尔科夫模型(HMM)学习笔记
- 693. Travel sequencing
- c面试 加密程序:由键盘输入明文,通过加密程序转换成密文并输出到屏幕上。
猜你喜欢

学术报告系列(六) - Autonomous Driving on the journey to full autonomy

Which foreign language periodicals are famous in geology?

地质学类比较有名的外文期刊有哪些?

Abnova 体外转录 mRNA工作流程和加帽方法介绍

安装VMmare时候提示hyper-v / device defender 侧通道安全性
![[start from scratch] detailed process of deploying yolov5 in win10 system (CPU, no GPU)](/img/77/bd80ed602208be6a9ef8be60c6ad06.png)
[start from scratch] detailed process of deploying yolov5 in win10 system (CPU, no GPU)

屏幕程序用串口无法调试情况

港科大&MSRA新研究:关于图像到图像转换,Fine-tuning is all you need

Test the foundation of development, and teach you to prepare for a fully functional web platform environment

JMeter function assistant - random value, random string, fixed value random extraction
随机推荐
Haqi projection Black Horse posture, avec seulement six mois de forte pénétration du marché des projecteurs de 1000 yuans!
反射(二)
rt-thread 中对 hardfault 的处理
C语言整理(待更新)
3428. Put apples
博士申请 | 上海交通大学自然科学研究院洪亮教授招收深度学习方向博士生
"Parse" focalloss to solve the problem of data imbalance
字符串常量与字符串对象分配内存时的区别
Shared memory for interprocess communication
Navicat importing 15g data reports an error [2013 - lost connection to MySQL server during query] [1153: got a packet bigger]
C language interview to write a function to find the first public string in two strings
【解决】Final app status- UNDEFINED, exitCode- 16
JMeter function assistant - random value, random string, fixed value random extraction
[SOC FPGA] peripheral PIO button lights up
ETCD数据库源码分析——从raftNode的start函数说起
[shell] summary of common shell commands and test judgment statements
如何解决数据库插入数据显示SQLSTATE[HY000]: General error: 1364 Field ‘xxxxx‘ doesn‘t have a default value错误
基本Dos命令
Symmetric binary tree [tree traversal]
Experience sharing of contribution of "management world"