title: Apache PHP error AH00052 Segmentation fault 11
body: <p>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:</p>
  <pre><code>[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)
  </code></pre>
  <p>The bill works (I dump out the object) until I try to send it up to Netsuite and then I get a &quot;This page isn't working&quot; with <code>AH00052</code> 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:</p>
  <p><strong>UPDATE</strong></p>
  <ol>
  <li>I increased the <code>output_buffering</code> to 8192M, 8192, Off and -1. Thanks to <a href="https://stackoverflow.com/questions/7745578/notice-child-pid-xxxx-exit-signal-segmentation-fault-11-in-apache-error-lo">this forum</a></li>
  <li>I tried to turn off <code>output_buffering</code>.</li>
  <li>I saw that my terminal and phpinfo were displaying two different versions. Got that updated in apache to point to the new PHP version.</li>
  <li>Tried turning off memory limit too.</li>
  </ol>
  <p>I saw comments about PHP and PHP-FPM being different in versions. When I run <code>-v</code> 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</p>
  <p>I've spent days on debugging this. I appreciate any feedback. I've attached a pic of what phpinfo spits out. <a href="https://i.stack.imgur.com/PUfUf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PUfUf.png" alt="Attached is a pic of the phpinfo(); " /></a></p>