Resolving Nginx 502 Bad Gateway with PHP-FPM Unix Socket on macOS Localhost
Troubleshoot Nginx 502 Bad Gateway errors on macOS with PHP-FPM Unix sockets. This guide covers common misconfigurations and permissions issues.
Browse all server troubleshooting guides and configuration walkthroughs tagged with #unix-socket.
Troubleshoot Nginx 502 Bad Gateway errors on macOS with PHP-FPM Unix sockets. This guide covers common misconfigurations and permissions issues.
Comprehensive troubleshooting guide for connect() to unix:/var/run/php/php-fpm.sock failed (111: Connection refused). Learn root causes, system traces, and verified resolutions.
Troubleshoot Nginx worker process 'permission denied' errors when opening Unix sockets on macOS, often due to user/group mismatches or incorrect socket permissions.
Troubleshoot 'permissions denied' when Nginx worker processes fail to open a Unix socket on Windows WSL2 Ubuntu. Fix PHP-FPM and directory permissions.
Resolve Nginx 502 Bad Gateway errors when using PHP-FPM via a Unix socket on Ubuntu 22.04 LTS. A definitive guide for common misconfigurations and resource issues.
Fix Nginx 502 Bad Gateway errors on Alpine Linux when using PHP-FPM via a Unix socket. Diagnose common issues like permissions, socket path, and PHP-FPM configuration.
Resolve Nginx 502 Bad Gateway errors caused by PHP-FPM Unix socket permission issues on Ubuntu 22.04 LTS by correcting user, group, and listen mode configurations.
Resolve Nginx 502 Bad Gateway errors on WSL2 Ubuntu when using php-fpm with a Unix socket. Debug common config, permission, and service issues.