undefined constant SWOOLE_HOOK_ALL
  • Use of undefined constant SWOOLE_HOOK_ALL - assumed ‘SWOOLE_HOOK_ALL’
#php未安装swoole拓展
php -m看看有没有swoole
解决办法:安装swoole拓展
  • 错误:[Warning] World-writable config file ‘/etc/mysql/my.cnf’ is ignored.
chmod 644 /etc/mysql/my.cnf
chmod 644 /etc/mysql/conf.d/*.cnf
chmod 644 /etc/mysql/conf.d/mysql.cnf

output_buffer_size 超出错误

修改 /config/autoload/server.php

Constant::OPTION_BUFFER_OUTPUT_SIZE => 20 * 1024 * 1024