当前位置:网站首页>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
边栏推荐
猜你喜欢
Differences between IPv6 and IPv4 three departments including the office of network information technology promote IPv6 scale deployment
安装配置Jenkins
选择排序和冒泡排序
P6183 [USACO10MAR] The Rock Game S
sql server学习笔记
P1451 calculate the number of cells / 1329: [example 8.2] cells
MongDB学习笔记
Visual task scheduling & drag and drop | scalph data integration based on Apache seatunnel
Garbage collection mechanism of PHP (theoretical questions of PHP interview)
Ctfshow web entry command execution
随机推荐
anaconda使用中科大源
Fr exercise topic - simple question
漫画:优秀的程序员具备哪些属性?
Live broadcast preview | how to implement Devops with automatic tools (welfare at the end of the article)
【华为机试真题详解】欢乐的周末
漫画:程序员不是修电脑的!
Select sort and bubble sort
超越PaLM!北大硕士提出DiVeRSe,全面刷新NLP推理排行榜
基于TI DRV10970驱动直流无刷电机
做研究无人咨询、与学生不交心,UNC助理教授两年教职挣扎史
Super wow fast row, you are worth learning!
Coding devsecops helps financial enterprises run out of digital acceleration
选择排序和冒泡排序
【数组和进阶指针经典笔试题12道】这些题,满足你对数组和指针的所有幻想,come on !
Jmeter性能测试:ServerAgent资源监控
想问下大家伙,有无是从腾讯云MYSQL同步到其他地方的呀?腾讯云MySQL存到COS上的binlog
【華為機試真題詳解】歡樂的周末
qt creater断点调试程序详解
市值蒸发超百亿美元,“全球IoT云平台第一股”赴港求生
一键更改多个文件名字