title: Error when fresh install Laravel 5.1
body: <p>I installed a new fresh project Laravel 5. It worked on local, but not working on server (CentOS 7, LAMP). I installed the server as required by Laravel:</p>
  
  <ul>
  <li>PHP >= 5.5.9 </li>
  <li>OpenSSL PHP Extension</li>
  <li>PDO PHP Extension</li>
  <li>Mbstring PHP Extension </li>
  <li>Tokenizer PHP Extension</li>
  <li>Mod_rewrite enabled</li>
  </ul>
  
  <p>I executed <code>CHMOD 777</code> to <em>storage</em> folder. When i run project on browser, nothing displays. Looking in the console tab, it shows "Failed to load resource: the server responded with a status of 500 (Internal Server Error)".</p>
  
  <p>Content of <code>error_log</code> file</p>
  
  <blockquote>
    <p>[Mon Jul 27 12:45:20.618306 2015] [core:notice] [pid 1448] SELinux
    policy enabled; httpd running as context system_u:system_r:httpd_t:s0
    [Mon Jul 27 12:45:20.681536 2015] [suexec:notice] [pid 1448] AH01232:
    suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) AH00558: httpd:
    Could not reliably determine the server's fully qualified domain name,
    using localhost.localdomain. Set the 'ServerName' directive globally
    to suppress this messa$ [Mon Jul 27 12:45:20.751429 2015]
    [auth_digest:notice] [pid 1448] AH01757: generating secret for digest
    authentication ... [Mon Jul 27 12:45:20.753167 2015]
    [lbmethod_heartbeat:notice] [pid 1448] AH02282: No slotmem from
    mod_heartmonitor [Mon Jul 27 12:45:24.458038 2015]
    [mpm_prefork:notice] [pid 1448] AH00163: Apache/2.4.6 (CentOS)
    PHP/5.6.11 configured -- resuming normal operations [Mon Jul 27
    12:45:24.458129 2015] [core:notice] [pid 1448] AH00094: Command line:
    '/usr/sbin/httpd -D FOREGROUND' [Mon Jul 27 12:53:02.593593 2015]
    [:error] [pid 2558] [client 192.168.56.1:56015] PHP Fatal error: 
    Uncaught exception 'UnexpectedValueException' with message 'The stream
    or file$ [Mon Jul 27 12:53:02.663948 2015] [:error] [pid 2558] [client
    192.168.56.1:56015] PHP Fatal error:  Uncaught exception 'UnexpectedValueException' with message 'The stream or file$</p>
  </blockquote>
  
  <p>Please help me. Thanks!</p>
  
  <p>UPDATE:
  I do have a APP_KEY and the APP_DEBUG is also set to true. but im not getting the Views. I just Tried echo a string in the <code>routes.php</code> .</p>
  
  <p><code>Route::get('/', function () { echo 'test'; return view('welcome'); });</code></p>
  
  <p>I can see the word 'test' but not the view..</p>
  
  <p>p/s: All folder in <code>storage</code> and  <code>bootstrap/cache</code> ar writeable (CHMOD 777)</p>
  
  <blockquote>
    <p>DONE: i'm disable SELinux on my server and this problem has been resolved :D
    Thanks all</p>
  </blockquote>