Keywords: Nginx - Linux - Technical issue - Other
bnsupport ID: b5aacc2e-4aa3-f074-b8ac-0d59c147fd81
I used the bitnami stack provided by aws lightsail. I'm getting 502 bad gateway after i'm trying to upgrade the php version from 7.1 to 7.3.
Does anybody know what caused this error?
This is the log from /opt/bitnami/php/var/log/php-fpm.log:
[11-Aug-2019 22:28:26] WARNING: [pool www] child 5807 exited on signal 11 (SIGSEGV - core dumped) after 4.712785 seconds from start
This is the log from /opt/bitnami/nginx/logs/error.log:
2019/08/11 22:35:27 [error] 5550#0: *115 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 22.214.171.124, server: mydomain.com, request: "POST /oauth/token HTTP/1.1", upstream: "fastcgi://unix:/opt/bitnami/php/var/run/www.sock:", host: "mydomain.com"
What i've tried:
- Restart the php-fpm service
- Change the fastcgi_param from /opt/bitnami/php/var/run/www.sock to 127.0.0.1:9000