-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PostgreSQL option gssencmode=disable isn't configurable #6319
Comments
Is this option part of the PDO DSN? I'm asking because it's not documented here. But I can find it in the Postgres documentation. I assume this also affects the pgsql driver? Please send a PR that adds the option to both drivers. |
Not sure about this but will try to figure it out. I found the solution in this PHP issue: php/php-src#13339 (comment) Not sure yet if pgsql driver is also affected but will try to reproduce this when I find some time. After having lost 3 days at work I need to catch up on some tasks first. |
I checked and the pgsql driver is also affected. I noticed pgsql isn't easily configurable with the Doctrine bundle so I created an issue for that (doctrine/DoctrineBundle#1763). Create the PR #6320 to add this. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Bug Report
Summary
On macOS there is an issue with PostgreSQL which can only be fixed by setting
gssencmode=disable
on the PDO connect. This isn't supported currently.Current behaviour
No way to configure gssencmode=disable.
How to reproduce
On a refresh macOS installation install php and postgresql@16 via homebrew. Set up php-fpm and try to connect to PostgreSQL. Results in a segfault.
Expected behaviour
I can configure gssencmode=disable and connect to PostgreSQL.
The text was updated successfully, but these errors were encountered: