如果报以下这种错(我的环境是mac10.15.7 php nginx php-fpm):
*18 kevent() reported about an closed connection (54: Connection reset by peer) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /index.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost:8080"
并且你其他方法都试过了,那很可能就是swoole的yasd和他冲突了,把php.ini的隐藏掉,唉,惊不惊喜,意不意外?
我是hyperf和php-fpm项目共存的,所以还是需要php-fpm
同鞋,解决了,来个赞吧
{{item.user_info.nickname ? item.user_info.nickname : item.user_name}}
作者 管理员 企业
{{itemf.name}}
{{itemc.user_info.nickname}}
{{itemc.user_name}}
回复 {{itemc.comment_user_info.nickname}}
{{itemf.name}}