webman使用指南
webman怎么安装redis?
文档:https://www.workerman.net/doc/webman/db/redis.html
解除禁用函数:pcntl_signal 、 pcntl_fork 、 pcntl_signal_dispatch、 pcntl_alarm、 exec
webman在宝塔里如何配置启动?
分享:https://www.workerman.net/a/1495
注意事项:配置反代后,也要配合使用3楼进程管理器来方便管理奥~
tips:可以在“日志”处查看webman的打印~
webman安装插件使用composer需要解除的禁用函数
文档:https://www.workerman.net/doc/webman/others/disable-function-check.html
-
webman使用定时器Timer
定时器Timer是workerman的功能,但webman是基于workerman产生的http框架,所以完全可以无缝使用
文档:https://www.workerman.net/doc/workerman/timer/add.html使用时的注意事项:https://www.workerman.net/doc/workerman/timer/notice.html
特别是定时器的使用位置、阻塞相关
tips:一个worker实例有1个主进程,4个子进程,一个子进程对应一个Timer定时器,编号依次为:0,1,2,3
workerman启动失败
具体体现为:unable to connect to tcp://127.0.0.1:7272 (Address already in use)
文档:https://www.workerman.net/doc/workerman/faq/workerman-start-fail.html
webman安装数据库
具体体现为:**Error: Class 'Illuminate\Database\Capsule\Manager' not found **
文档:https://www.workerman.net/doc/webman/db/tutorial.html

浙公网安备 33010602011771号