title: My Laravel project in showing blank screen after putting it on the server
body: <p>After configuring and copying my Laravel 5 project from local machine to the server but from my surprise I am getting white screen.</p>
  
  <p>What I did is: </p>
  
  <ol>
  <li>I changed <code>.htaccess</code> to paste the code from Laravel document</li>
  <li>I was not having <code>paths.php</code> file but and got one <a href="https://github.com/laravel/laravel/blob/834cb7530df5ea28803569fd6bf28c6e759170ef/bootstrap/paths.php" rel="nofollow">https://github.com/laravel/laravel/blob/834cb7530df5ea28803569fd6bf28c6e759170ef/bootstrap/paths.php</a></li>
  </ol>
  
  <p>The is a similar question like this one but the difference is that i don't have public_html folder and public folder </p>
  
  <p>This is how my <code>index.php</code> look at the moment</p>
  
  <pre><code>require __DIR__.'/bootstrap/autoload.php';
  $app = require_once __DIR__.'/bootstrap/start.php';
  
  $kernel = $app-&gt;make(Illuminate\Contracts\Http\Kernel::class);
  
  $response = $kernel-&gt;handle(
      $request = Illuminate\Http\Request::capture()
  );
  
  $response-&gt;send();
  
  $kernel-&gt;terminate($request, $response)
  </code></pre>
  
  <p>my vhost</p>
  
  <pre><code> &lt;VirtualHost *:80&gt;
      DocumentRoot /var/www/html/
      &lt;Directory "/var/www/html/kidio/mergeogle/laravel/public"&gt;
        Options Indexes FollowSymLinks
        AllowOverride all
        Require all granted
        Allow from all
       &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>my storage permission </p>
  
  <pre><code>   drwxrwsrwx. 2 apache apache 23 Aug  9 13:48 app
     drwxrwsrwx. 5 apache apache 62 Aug  9 13:48 framework
     drwxrwsrwx. 2 apache apache 23 Aug  9 13:48 logs
  
    checking the stat storage/
  
  
     File: ‘storage/’
      Size: 43              Blocks: 0          IO Block: 4096   directory
      Device: ca02h/51714d    Inode: 50945968    Links: 5
      Access: (0777/drwxrwxrwx)  Uid: (   48/  apache)   Gid: (   48/  apache)
       Context: unconfined_u:object_r:httpd_sys_content_t:s0
       Access: 2015-08-10 03:49:01.336664540 -0400
  </code></pre>
  
  <p>Modify: 2015-08-09 13:48:39.877778729 -0400
  Change: 2015-08-10 01:58:35.125307307 -0400
   Birth: -</p>
  
  <pre><code>and my bootstrap permissions are as follow
  
  
   stat bootstrap/
   File: ‘bootstrap/’
    Size: 83              Blocks: 0          IO Block: 4096   directory
     Device: ca02h/51714d    Inode: 980216      Links: 3
     Access: (2777/drwxrwsrwx)  Uid: ( 1000/ec2-user)   Gid: ( 1001/     www)
     Context: unconfined_u:object_r:httpd_sys_content_t:s0
      Access: 2015-08-10 01:58:35.124307329 -0400
      Modify: 2015-08-10 00:52:14.407629336 -0400
       Change: 2015-08-10 01:58:35.124307329 -0400
        Birth: -
  </code></pre>