SEGFAULT on connecting from php-fpm to postgresql #5283
Unanswered
abramov-ks
asked this question in
Everyday usage
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Output of
brew config
Output of
brew doctor
Description of issue
Hi there.
I have config nginx - php -postgresql and it starts crached from last times.
I tried to explore the problem and it's on connecting from php-fpm proccess to postgresql. I tried to create simple connection script like
<?php $conn = pg_connect("postgresql://postgres:[email protected]/postgres"); $result = pg_query($conn, "select version()"); print_r($result); ?>
If I run it from php cli - it's OK, but from php-fpm (via nginx) i got 502 error and
WARNING: [pool www] child 6539 exited on signal 11 (SIGSEGV) after 541.084921 seconds from start
in logs.I tried to change postgresql versions, and openssl versions (from 3.0 to 3.2.1) - nothing changes.
I attach system crash log php-fpm.log
Beta Was this translation helpful? Give feedback.
All reactions