宝塔面板上移植过来后就开始报错的问题

宝塔面板上移植过来后就开始报错,在宝塔面板上是可以正常运行的,移植过来就不行了,求大佬帮忙看看
网站是tp框架的,数据库是mysql5.7.44,访问网站后提示:

SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column ‘lldh.h.id’ which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

是不是缺扩展?或者数据库有什么特殊配置

这个问题已经解决了,但是现在又出现了一个新的问题,就是访问网站后出现502,看了进程,显示php-fpm是休眠状态的