|-转 Apache 报错 PHP error AH00052 Segmentation fault 11
[core:notice] [pid 2037:tid 139683909299072] AH00052: child pid 1095041 exit signal Segmentation fault (11)||
Asked 1 year, 8 months ago
Modified 1 year, 6 months ago
Viewed 4k times||
I saw comments about PHP and PHP-FPM being different in versions. ,一种说法是PHP和PHP-FPM的版本不一致。20220419
I'm working on my local Mac Catalina environment with PHP 7.4.8 with apache installed. There is the PHP 7.3 version that got installed with Catalina which I haven't removed. I overwritten apache config in httpd.conf to point the PHP version to the 7.4 that got installed with brew. I am trying to upload a vendor bill using the Netsuite SDK but keep getting this error in the apache error log:
[Wed Aug 05 11:43:30.001427 2020] [core:notice] [pid 7195] AH00052: child pid 25656 exit signal Segmentation fault (11)
[Wed Aug 05 11:43:30.002166 2020] [core:notice] [pid 7195] AH00052: child pid 25655 exit signal Segmentation fault (11)
[Wed Aug 05 11:43:30.002207 2020] [core:notice] [pid 7195] AH00052: child pid 25654 exit signal Segmentation fault (11)
[Wed Aug 05 11:43:30.002236 2020] [core:notice] [pid 7195] AH00052: child pid 25526 exit signal Segmentation fault (11)
[Wed Aug 05 11:43:31.003428 2020] [core:notice] [pid 7195] AH00052: child pid 33510 exit signal Segmentation fault (11)
[Wed Aug 05 11:43:32.003629 2020] [core:notice] [pid 7195] AH00052: child pid 33511 exit signal Segmentation fault (11)
The bill works (I dump out the object) until I try to send it up to Netsuite and then I get a "This page isn't working" with AH00052 in the apache error logs. I can send up a Credit memo just fine but Vendor Bill just isn't working so it's just this. Things I've tried:
UPDATE
I increased the output_buffering to 8192M, 8192, Off and -1. Thanks to this forum
I tried to turn off output_buffering.
I saw that my terminal and phpinfo were displaying two different versions. Got that updated in apache to point to the new PHP version.
Tried turning off memory limit too.
I saw comments about PHP and PHP-FPM being different in versions. When I run -v on both php and fpm, it shows the same version. I don't have any other super fancy packages installed. I have a Wordpress site also installed locally just fine so apache is working. It's just something that's causing this error. I got m
I've spent days on debugging this. I appreciate any feedback. I've attached a pic of what phpinfo spits out. Attached is a pic of the phpinfo();
php
apache
php-7
Share
Improve this question
Follow
edited Aug 5, 2020 at 20:13
asked Aug 5, 2020 at 19:07
user avatar
cbloss793
1,49544 gold badges2121 silver badges2929 bronze badges...