Open dersonsena opened 1 year ago
Same Issue using webdevops/php-nginx-dev:8.0
image
I've spent three days looking for complicated solutions. I've found that the error comes from my docker configuration 😭
If x86 option is checked just uncheck it.
Thx this has been helpful for me !
I'm using a MacBook Air M1 Ventura (13.3.1) that requires an ARM64 architecture for almost everything.
I spent some time trying to understand why a simple connection with the PDO was not working:
I had the xdebug activated and yet no errors or warnings appears in the logs, NGINX simply returned a 502 error:
The solution I found was upgrade to version 8.2 of this same package, but I believe version 8.1 is still widely used. I found it important to register this problem for the community to be able to solve it =)