caddy+php7.4也许是最简易的组合(除了caddy,无须特别配置source.list),但是可能出现php无法运行的情况,提示502错误,log显示permission deny之类的。解决办法,修改/etc/php/php7.4/fpm/pool/www.conf 为:
listen.owner = caddy
listen.group = caddy
listen.mode = 0660
然后重启php7.4-fpm
v88.cn In name of my son
caddy+php7.4也许是最简易的组合(除了caddy,无须特别配置source.list),但是可能出现php无法运行的情况,提示502错误,log显示permission deny之类的。解决办法,修改/etc/php/php7.4/fpm/pool/www.conf 为:
listen.owner = caddy
listen.group = caddy
listen.mode = 0660
然后重启php7.4-fpm