7.4 fpm causes segfaults anytime gettext is invoked, M2 Apple Silicon #1857
Replies: 3 comments
-
| 
         I am running into the same issue. I've tried it against [email protected] and [email protected] 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.
-
| 
         Also happens on M1 Apple Silicon. The putenv("LC_ALL=C"); is confirmed working.  | 
  
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/[email protected]/sbin/php-fpm --nodaemonizewhile doing this yields:Conversely, changing that script to a simple:
or
Works as expected.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions