title: Laravel errors not working
body: <p>Whenever my code has an error.. All I get on the browser is a blank white page. No errors. Nothing.</p>
  
  <p>I have tried turning <code>debug</code> to <code>true</code> in config/app.php. I have tried running <code>php artisan optimize</code>. No difference. I have tried <a href="https://mattstauffer.co/blog/bringing-whoops-back-to-laravel-5" rel="noreferrer">this post</a> and this is the resulting error in my command line;</p>
  
  <pre><code>The following exception is caused by a lack of memory and not having swap configured
  Check https://getcomposer.org/doc/articles/troubleshooting.md#proc-open-fork-failed-errors for details
  PHP Fatal error:  Uncaught exception 'ErrorException' with message 'proc_open(): fork failed - Cannot allocate memory' in phar:///usr/local/bin/composer/vendor/symfony/console/Symfony/Component/Console/Application.php:974
  Stack trace:
  #0 [internal function]: Composer\Util\ErrorHandler::handle(2, 'proc_open(): fo...', 'phar:///usr/loc...', 974, Array)
  #1 phar:///usr/local/bin/composer/vendor/symfony/console/Symfony/Component/Console/Application.php(974): proc_open('stty -a | grep ...', Array, NULL, NULL, NULL, Array)
  #2 phar:///usr/local/bin/composer/vendor/symfony/console/Symfony/Component/Console/Application.php(784): Symfony\Component\Console\Application-&gt;getSttyColumns()
  #3 phar:///usr/local/bin/composer/vendor/symfony/console/Symfony/Component/Console/Application.php(745): Symfony\Component\Console\Application-&gt;getTerminalDimensions()
  #4 phar:///usr/local/bin/composer/vendor/symfony/console/Symfony/Component/Console/Application.php(675): Symfony\Component\Console\Application-&gt;getTerminalWidth()
  #5 phar:///usr/local/bin/com in phar:///usr/local/bin/composer/vendor/symfony/console/Symfony/Component/Console/Application.php on line 974
  </code></pre>
  
  <p>So here is another problem to deal with... and I still don't have errors showing. I just want to show some meaningful errors... what else can I try? </p>
  
  <p><strong>* UPDATE *</strong></p>
  
  <p>I followed <a href="https://getcomposer.org/doc/articles/troubleshooting.md#proc-open-fork-failed-errors" rel="noreferrer">this guide</a> as suggested in the error message above. I got a pretty positive looking response;</p>
  
  <pre><code>1024+0 records in
  1024+0 records out
  1073741824 bytes (1.1 GB) copied, 1.6144 s, 665 MB/s
  </code></pre>
  
  <p>So I tried running <code>composer update</code> again. I got this response;</p>
  
  <pre><code>Loading composer repositories with package information
  Updating dependencies (including require-dev)
    - Removing laravel/framework (v5.0.5)
    - Installing laravel/framework (v5.0.6)
      Downloading: 100%
  
    - Installing filp/whoops (1.1.3)
      Loading from cache
  
  Writing lock file
  Generating autoload files
  Generating optimized class loader 
  Compiling common classes
  Compiling views
  </code></pre>
  
  <p>All good, right? But then, I still get a blank white page when loading my script with an error. Why??</p>