当前位置:网站首页>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
边栏推荐
- ICML 2022 | 探索语言模型的最佳架构和训练方法
- Thymeleaf uses background custom tool classes to process text
- GPS原始坐标转百度地图坐标(纯C代码)
- 在Pytorch中使用Tensorboard可视化训练过程
- Easyocr character recognition
- P6183 [USACO10MAR] The Rock Game S
- 漫画:程序员不是修电脑的!
- Huiyuan, 30, is going to have a new owner
- Live broadcast preview | how to implement Devops with automatic tools (welfare at the end of the article)
- Photoshop插件-动作相关概念-ActionList-ActionDescriptor-ActionList-动作执行加载调用删除-PS插件开发
猜你喜欢
随机推荐
No one consults when doing research and does not communicate with students. UNC assistant professor has a two-year history of teaching struggle
Run faster with go: use golang to serve machine learning
Dark horse programmer - software testing -10 stage 2-linux and database -44-57 why learn database, description of database classification relational database, description of Navicat operation data, de
Common interview questions about swoole
Install and configure Jenkins
机器学习框架简述
【数组和进阶指针经典笔试题12道】这些题,满足你对数组和指针的所有幻想,come on !
Handwriting promise and async await
ICML 2022 | 探索语言模型的最佳架构和训练方法
Ctfshow web entry information collection
漫画:优秀的程序员具备哪些属性?
选择排序和冒泡排序
FR练习题目---综合题
1330:【例8.3】最少步数
What are the domestic formal futures company platforms in 2022? How about founder metaphase? Is it safe and reliable?
Can I pass the PMP Exam in 20 days?
easyOCR 字符识别
TS所有dom元素的类型声明
Drive brushless DC motor based on Ti drv10970
R 熵权法计算权重及综合得分