如果報(bào)以下這種錯(cuò)(我的環(huán)境是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項(xiàng)目共存的,所以還是需要php-fpm
同鞋,解決了,來個(gè)贊吧