7.4 fpm causes segfaults anytime gettext is invoked, M2 Apple Silicon #1857
Replies: 2 comments
-
I am running into the same issue. I've tried it against php@8.2 and php@8.3 and it's the same. I'm running an M3 Max.
This will always trigger it. Putting My main issue is that installing mongodb makes php stop working entirely with: I need the mongo driver for a project I'm working on, but when installed apache/php doesn't work anywhere, even scripts that don't call mongo. I think the mongo error and the gettext error are related. Any ideas on how to fix this? I'm on my second day trying to fix this. |
Beta Was this translation helpful? Give feedback.
-
Well, looks like this is back. I'm on Sequoia 15.4, this repo's PHP 7.4, and the old modification that used to fix this (of the home-brew launch file):
No longer seems to do the trick. Adding |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone.
Been banging my head on this one a bit.
Am on an M2 Mac, and this test script will cause a crash if accessed via php-fpm, but runs fine php cli. Has anyone run into this?
Running
/opt/homebrew/opt/php@7.4/sbin/php-fpm --nodaemonize
while doing this yields:Conversely, changing that script to a simple:
or
Works as expected.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions