当前位置:网站首页>Install PHP extension spoole
Install PHP extension spoole
2022-07-05 15:05:00 【Legend of starry night】
My computer environment ,php7.4 + swoole 4.4.23
If there is a problem during the installation , Please leave a message below !!
work with added vigor
1, download
git Download address : https://github.com/swoole/swoole-src/releases
Download command :
wget https://github.com/swoole/swoole-src/archive/v4.4.23.tar.gz
3, decompression
tar -zvxf v4.4.23.tar.gz
4, Enter the extracted directory
swoole-4.4.23
5,
Enter your local corresponding php The installation directory , Example :/xxx/xxx/phpize
/opt/homebrew/Cellar/[email protected].4/7.4.27/bin/phpize
6,
./configure
7,
make && make install
8,
make test
This extension has been successfully installed
9, modify php.ini Configuration add ( It must be emphasized , Add... At the end of the configuration file )
extension=swoole.so
10, Test installation results
php --ri swoole
After performing the demonstration, the following represents success
swoole
Swoole => enabled
Author => Swoole Team <[email protected].com>
Version => 4.4.23
Built => Feb 12 2022 21:54:33
coroutine => enabled
kqueue => enabled
rwlock => enabled
pcre => enabled
zlib => 1.2.11
async_redis => enabled
Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.enable_library => On => On
swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => On => On
swoole.unixsock_buffer_size => 262144 => 262144
End of extension installation , Get into swoole Project directory start swoole that will do
边栏推荐
- Crud de MySQL
- [detailed explanation of Huawei machine test] character statistics and rearrangement
- The difference between abstract classes and interfaces in PHP (PHP interview theory question)
- [12 classic written questions of array and advanced pointer] these questions meet all your illusions about array and pointer, come on!
- sql server char nchar varchar和nvarchar的区别
- "Sequelae" of the withdrawal of community group purchase from the city
- How to paste the contents copied by the computer into mobaxterm? How to copy and paste
- JS bright blind your eyes date selector
- CODING DevSecOps 助力金融企业跑出数字加速度
- 基于TI DRV10970驱动直流无刷电机
猜你喜欢

Ctfshow web entry command execution

Coding devsecops helps financial enterprises run out of digital acceleration

729. 我的日程安排表 I :「模拟」&「线段树(动态开点)」&「分块 + 位运算(分桶)」

【NVMe2.0b 14-9】NVMe SR-IOV
![[JVM] operation instruction](/img/f5/85580495474ef58eafbb421338e93f.png)
[JVM] operation instruction

1330:【例8.3】最少步数

Behind the ultra clear image quality of NBA Live Broadcast: an in-depth interpretation of Alibaba cloud video cloud "narrowband HD 2.0" technology

Fr exercise topic --- comprehensive question

Ten billion massage machine blue ocean, difficult to be a giant

【数组和进阶指针经典笔试题12道】这些题,满足你对数组和指针的所有幻想,come on !
随机推荐
【华为机试真题详解】字符统计及重排
Interpretation of Apache linkage parameters in computing middleware
Differences between IPv6 and IPv4 three departments including the office of network information technology promote IPv6 scale deployment
超级哇塞的快排,你值得学会!
Ecotone technology has passed ISO27001 and iso21434 safety management system certification
我这边同时采集多个oracle表,采集一会以后,会报oracle的oga内存超出,大家有没有遇到的?
百亿按摩仪蓝海,难出巨头
CODING DevSecOps 助力金融企业跑出数字加速度
可视化任务编排&拖拉拽 | Scaleph 基于 Apache SeaTunnel的数据集成
NBA赛事直播超清画质背后:阿里云视频云「窄带高清2.0」技术深度解读
Machine learning notes - gray wolf optimization
CODING DevSecOps 助力金融企业跑出数字加速度
1330:【例8.3】最少步数
Photoshop插件-动作相关概念-ActionList-ActionDescriptor-ActionList-动作执行加载调用删除-PS插件开发
Stop B makes short videos, learns Tiktok to die, learns YouTube to live?
基于TI DRV10970驱动直流无刷电机
P1451 求细胞数量/1329:【例8.2】细胞
I collect multiple Oracle tables at the same time. After collecting for a while, I will report that Oracle's OGA memory is exceeded. Have you encountered it?
[detailed explanation of Huawei machine test] character statistics and rearrangement
用 Go 跑的更快:使用 Golang 为机器学习服务