title: Segfault with Laravel - how to debug?
body: <p>I'm having a bit of an issue with my Laravel install—everything works fine with no errors until I run a <code>php artisan optimize</code>. When I <code>php artisan serve</code> after that, the server crashes immediately after I try to load any page. I tried serving it with <code>php -S</code> and got the same crash (though this time I got a segmentation fault logged). 
  If I run <code>php artisan clear-compiled</code>, everything works again as expected.</p>
  
  <p>I'm pretty unfamiliar with apache and PHP in general - can someone suggest how to go about debugging this or what the issue might be?</p>
  
  <p>(I just ran it again with php artisan serve, and this time I got <code>zend_mm_heap corrupted</code> before crashing)</p>