SOLVED Fusionpbx still supports on Raspberry Pi ? 502 Bad Gateway Error

vuthy09

Member
Jun 12, 2023
111
10
18
41
fusionpbx still supports on Raspberry Pi? after setting up fusionPBX on raspberry pi 4, I got an error of 502 bad gateway.
anyone know how to fix this, please help. thanks

1737191886850.png
 
Last edited:

vuthy09

Member
Jun 12, 2023
111
10
18
41
The problem is solved now, because php-fpm is misconfigured at /etc/nginx/sites-enabled/fusionpbx.
Update the Nginx Configuration Edit the Nginx configuration file to point to the correct PHP-FPM socket:
replace fastcgi_pass unix:/var/run/php/php8.1-fpm.sock; with fastcgi_pass unix:/var/run/php/php8.2-fpm.sock;
 
  • Like
Reactions: markjcrane