pg_connect crash when connecting to PostgreSQL #2244
Replies: 4 comments 3 replies
-
This was patched on Homebrew's side to work with openssl 3.2.0, Please reinstall your brew update
brew reinstall libpq postgresql@16 |
Beta Was this translation helpful? Give feedback.
-
It did not help |
Beta Was this translation helpful? Give feedback.
-
I'm facing the same issue. Would like to know updates in the future |
Beta Was this translation helpful? Give feedback.
-
@ataklychev @kennethgerrits As a workaround you can disable |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
PHP-FPM crash when connecting to PostgreSQL
PHP versions
8.3.1
To Reproduce
On MacOS sonoma 14.2.1
brew install postgresql@16 ( create test db )
brew services start postgresql@16
brew install shivammathur/php/[email protected]
brew services start php
brew install nginx ( configure simple server with fastcgi_pass 127.0.0.1:9000 )
brew services start nginx
In console mode, pg_connect work perfectly. In fpm mode pg_connect crashes and nginx return 502.
I found similar issue Homebrew/homebrew-core#155651 , and try to downgraded openssl to 3.1.4.
But when i install php [brew install shivammathur/php/[email protected]], openssl 3.2 installed force again and php use openssl 3.2.
How can i downgrade openssl to 3.1.4 in php ?
Beta Was this translation helpful? Give feedback.
All reactions