摘要: 一,修改代码后使生效: # php artisan octane:reload INFO Reloading workers... 二,停止octane: 说明;用supervisor管理服务,此操作不生效 # php artisan octane:stop INFO Stopping server 阅读全文
posted @ 2024-11-08 17:10 刘宏缔的架构森林 阅读(99) 评论(0) 推荐(0)
摘要: 一,配置 nginx 1,一个nginx的server段 在server段之外添加: map $http_upgrade $connection_upgrade { default upgrade; '' close; } 在server段中添加如下内容: location /index.php { 阅读全文
posted @ 2024-11-08 14:55 刘宏缔的架构森林 阅读(130) 评论(0) 推荐(0)
摘要: 一,ubuntu安装supervisor 1, 用apt安装 # apt install supervisor 2,安装完成后查看状态: # systemctl status supervisor.service ● supervisor.service - Supervisor process c 阅读全文
posted @ 2024-11-08 14:08 刘宏缔的架构森林 阅读(128) 评论(0) 推荐(0)
摘要: 一,报错信息 # apt install supervisor 正在读取软件包列表... 完成 正在分析软件包的依赖关系树... 完成 正在读取状态信息... 完成 您也许需要运行“apt --fix-broken install”来修正上面的错误。 下列软件包有未满足的依赖关系: libxpm-d 阅读全文
posted @ 2024-11-08 13:34 刘宏缔的架构森林 阅读(1494) 评论(0) 推荐(0)
摘要: 一,旧版本ubuntu上的apt源不能用了 # apt-get update 忽略:1 http://mirrors.aliyun.com/ubuntu hirsute InRelease 忽略:2 http://mirrors.aliyun.com/ubuntu hirsute-security 阅读全文
posted @ 2024-11-08 11:58 刘宏缔的架构森林 阅读(379) 评论(0) 推荐(1)
摘要: 一,什么是octane? 1, Laravel Octane 通过使用高性能应用程序服务器为您的应用程序提供服务来增强您的应用程序的性能, 包括 Open Swoole,Swoole,和 RoadRunner。Octane 启动您的应用程序一次,将其保存在内存中,然后以极快的速度向它提供请求。 2, 阅读全文
posted @ 2024-11-08 11:11 刘宏缔的架构森林 阅读(407) 评论(0) 推荐(1)
摘要: 一,pecl命令行安装: 1,注意切换为root权限: # /usr/local/soft/php8.3.9/bin/pecl install swoole 2,安装时的选项: enable sockets support? [no] : yes enable openssl support? [n 阅读全文
posted @ 2024-11-08 10:13 刘宏缔的架构森林 阅读(806) 评论(0) 推荐(0)