当前位置:网站首页>easyswoole环境配置
easyswoole环境配置
2022-04-23 01:55:00 【大得369】
1、宝塔安装php7.4版本
2、宝塔安装swoole4.x
3、点击重载配置,点击重启,php -m必须看到swoole才是成功,可以的
4、宝塔面板默认禁用函数,需要解开,解开才可以下面的
宝塔面板默认禁用一些安装 Composer 要用到的 3 个函数putenv() 、 pcntl_signal() 、 proc_open(),我们需要解除禁用
如下图所示,进入宝塔面板,打开 PHP 设置,在【禁用函数】中,删除 putenv 、 pcntl_signal 以及 proc_open

5、安装 Composer
wget https://gitee.com/yurunsoft/php-env/raw/master/composer.sh && bash composer.sh
推荐
wget https://ku.oioweb.cn/shell/composer/composer.sh && bash composer.sh
6.更新
composer update
安装easywoole
composer require easyswoole/easyswoole=3.5.x
php vendor/easyswoole/easyswoole/bin/easyswoole install
# 启动框架完成
php easyswoole server start
版权声明
本文为[大得369]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_34631220/article/details/124338912
边栏推荐
- What are the common proxy IP problems?
- Do447 manage user and team access
- Jerry's factors that usually affect CPU performance test results are: [article]
- What code needs unit testing?
- 什么时候应该编写单元测试?什么是TDD?
- Summary of LSF usage
- How to initialize "naming and surname" in C language
- Server 2019 the available memory of the server is half of the actual memory
- What are the benefits of writing unit tests using the unit test framework?
- How to set computer IP?
猜你喜欢

RuntimeError: The size of tensor a (4) must match the size of tensor b (3) at non-singleton dimensio
![NPM yarn startup error [resolved]](/img/8a/8351c33e30da8e08ac0dcb7c7c868e.png)
NPM yarn startup error [resolved]

Analyze the advantages and disadvantages of tunnel proxy IP.

揭秘被Arm编译器所隐藏的浮点运算

ESP32使用freeRTOS的消息队列

批处理多个文件合成一个HEX

Communication summary between MCU and 4G module (EC20)

How can e-procurement become a value-added function in the supply chain?

Digital collection platform settled in digital collection platform to develop SaaS platform of digital collection

FL studio20. 8 the latest Chinese version installation and download graphic tutorial
随机推荐
J-Link RTT使用
Summary of LSF usage
CC2541的仿真器CC Debugger使用教程
领导/老师让填写电子excel表格文档可手机上如何编辑word/excel文件填写excel/word电子文档?
紫光国微财报一枝独秀 2021年净利润三位数增长靠什么
有哪些业务会用到物理服务器?
EBS:PO_ EMPLOYEE_ HIERARCHIES_ ALL
使用单元测试框架编写单元测试的好处?
2022.4.10-----leetcode. eight hundred and four
Problem solving: dpkg DEB: error: package name has characters that are't lowercase alphanums or '- +‘
Under the pressure of sales, domestic mobile phones began to reduce prices, but they haven't put down their final face
搭建网站是用物理机还是云主机好?
电子采购如何成为供应链中的增值功能?
How to set computer IP?
Unity editor hierarchy drop-down menu extension
About how to import C4d animation into lumion
W801/W800-wifi-socket开发(二)-UDP蓝牙控制wifi连接
DO447管理用户和团队的访问
Virtual serial port function of j-link V9 using skills
W801/W800/W806唯一ID/CPUID/FLASHID