title: Error installing laravel 5.6 app on remote hosting
body: <p>I am trying to install my laravel 5.6 app on remote hosting(digital ocean, Ubuntu 16.04.3)</p>
  
  <p>I set DocumentRoot in /etc/apache2/sites-available to /public of my app</p>
  
  <p>I added line in /etc/apache2/apache2.conf</p>
  
  <pre><code>ServerName localhost
  </code></pre>
  
  <p>and set all :</p>
  
  <pre><code>AllowOverride All
  </code></pre>
  
  <p>I made</p>
  
  <pre><code>a2enmod rewrite
  </code></pre>
  
  <p>and 
  sudo service apache2 restart</p>
  
  <p>and </p>
  
  <pre><code># sudo apache2ctl configtest
  Syntax OK
  </code></pre>
  
  <p>Running in browser I got message</p>
  
  <blockquote>
    <p>This page isn’t working NNN.NN.NN.NNN is currently unable to handle
    this request. HTTP ERROR 500</p>
  </blockquote>
  
  <p>As I see error code my web hosting ok, that is some specific intermal error?
  But I want to see laravel error?</p>
  
  <p>I run </p>
  
  <pre><code>sudo chmod -R 777 /var/www/html/box-booking/storage
  </code></pre>
  
  <p>log dir is empty:</p>
  
  <pre><code>and root@Box-Booking-Server:/var/www/html/box-booking/storage/logs# ls -la
  total 12
  drwxr-xr-x 2 root root 4096 Jul 22 06:13 .
  drwxr-xr-x 6 root root 4096 Jul 22 06:13 ..
  -rwxr-xr-x 1 root root   14 Jul 22 06:13 .gitignore
  </code></pre>
  
  <p>In my .env :</p>
  
  <pre><code>APP_NAME=Laravel
  APP_ENV=local
  APP_DEBUG=true
  APP_LOG_LEVEL=debug
  APP_URL=http://NNN.NN.
  
  DB_CONNECTION=mysql
  DB_HOST=127.0.0.1
  DB_PORT=3306
  </code></pre>
  
  <p>In my /config/app.php I changed:</p>
  
  <pre><code>   'env' =&gt;  'local',
   'debug' =&gt; true,
  </code></pre>
  
  <p>But I stiil can not see any error?</p>
  
  <p>Is it some cache of config? How to see the errors?</p>
  
  <p>Thanks!</p>