using centos 7 naigx php7.2 wnat to update to 7.4 i do alot of staff there now im on 7.4 but web stop working 502 Bad Gateway
error can some one post the correct steps to update PHP with out losing anything
The nginx log file will tell you the error you need to fix.
/var/log/nginx/error.log
One common issue is that php-fpm
hasn’t been restarted or your /etc/nginx/conf.d/librenms.conf
does not match up with your php-fpm.d/www.conf
fastcgi_pass 127.0.0.1:9000;
listen = 127.0.0.1:9000
(these might be pointing to .sock
files, which is fine, they just both need to be the same)
1 Like
Can confirm this is a possible fix. I ran into the same issue and it fixed my problem.