当前位置:网站首页>window下面如何安装swoole
window下面如何安装swoole
2022-07-07 01:13:00 【菜鸟一号mmmm】
Cygwin网址:http://www.cygwin.com/
安装Cygwin:
1:点击exe安装文件
点击下一步
选择install from internet点击下一步

自定义安装目录,不要安在系统盘,点击下一步

选择下载目录,点击下一步

选择direct connection点击下一步
7、选择镜像源,填写url点击添加,选中添加后的镜像源,点击下一步(http://cygwin.mirror.constant.com,全新镜像源)

选择要安装的依赖包
注:选择Category,并在Search框中写入需要安装的工具

如:libpcre-devel

所需要的所有工具以及扩展如下图:

点击下一步安装,剩余的就是自动安装,在结束时可能需要勾选两个框,是图标和快捷键的创建,选择勾选。
扩容Cygwin可用内存空间:
打开注册列表

选择新建Cygwin的QWORD(32位请选择DWORD)
名称位heap_chunk_in_mb,数值位2048MB(可自行选择,不要太小,最好1G以上,也要看windows系统内存大小)
右键点击修改,选择十进制,数值填写2048
重启电脑。
安装swoole
Github网址:点击此处跳转github
选择gz压缩包下载,下载后复制到cygwin安装目录下的home目录下
之后点击cygwin快捷键进入虚拟终端
并解压home目录下的刚下载的swoole安装包到/usr/local/swoole下(如果/usr/local/swoole不存在,新建这个文件夹)
解压完后进入/usr/local/swoole/swoole-src-4.2.0/
输入命令:phpize,生成编译的配置文件configure
输入命令:./configure && make && make install
配置、编译、编译安装swoole
使用命令: php -i | grep php.ini,找到php cli使用的配置文件php.ini的路径,修改php.ini文件,在文件中添加一行:extension=swoole.dll(是windows扩展的swoole.dll,不是图片的swoole.so),然后关闭退出
6 /extension 查找 按n再次查找
7 添加extension=swoole.dll(是dll不是so)

8 :wq 保存退出
9 使用命令:php -m,查看加载的模块,如果看到swoole,则扩展添加成功,到此环境搭建成功!
边栏推荐
- On the difference between FPGA and ASIC
- Check Point:企业部署零信任网络(ZTNA)的核心要素
- Dc-7 target
- Cf:c. column swapping [sort + simulate]
- STM32按键状态机2——状态简化与增加长按功能
- MFC BMP sets the resolution of bitmap, DPI is 600 points, and gdiplus generates labels
- Career experience feedback to novice programmers
- Introduction to yarn (one article is enough)
- Classic questions about data storage
- Flask1.1.4 Werkzeug1.0.1 源码分析:启动流程
猜你喜欢

JVM监控及诊断工具-命令行篇

Convert numbers to string strings (to_string()) convert strings to int sharp tools stoi();

PowerPivot——DAX(函数)

【FPGA教程案例14】基于vivado核的FIR滤波器设计与实现

Say sqlyog deceived me!
![A freshman's summary of an ordinary student [I don't know whether we are stupid or crazy, but I know to run forward all the way]](/img/fd/7223d78fff54c574260ec0da5f41d5.png)
A freshman's summary of an ordinary student [I don't know whether we are stupid or crazy, but I know to run forward all the way]

Ctfshow-- common posture

Bbox regression loss function in target detection -l2, smooth L1, IOU, giou, Diou, ciou, focal eiou, alpha IOU, Siou

SAP Spartacus checkout 流程的扩展(extend)实现介绍

Sequential storage of stacks
随机推荐
404 not found service cannot be reached in SAP WebService test
Nvisual network visualization
Input of native applet switches between text and password types
改变ui组件原有样式
Personal imitation SSM framework
云加速,帮助您有效解决攻击问题!
Determine whether the file is a DICOM file
How much do you know about clothing ERP?
【日常训练--腾讯精选50】235. 二叉搜索树的最近公共祖先
PTA TIANTI game exercise set l2-003 moon cake test point 2, test point 3 Analysis
3428. 放苹果
Flask1.1.4 werkzeug1.0.1 source code analysis: start the process
【SQL实战】一条SQL统计全国各地疫情分布情况
[daily training -- Tencent selected 50] 235 Nearest common ancestor of binary search tree
[FPGA tutorial case 13] design and implementation of CIC filter based on vivado core
Apple CMS V10 template /mxone Pro adaptive film and television website template
[FPGA tutorial case 14] design and implementation of FIR filter based on vivado core
牙齿干细胞的存储问题(未完待续)
EMMC print cqhci: timeout for tag 10 prompt analysis and solution
980. 不同路径 III DFS