title: Reloading .env variables without restarting server (Laravel 5, shared hosting)
body: <p>My Laravel 5 has run OK until the database was configured, then found this error:</p>
  
  <pre><code>SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known
  </code></pre>
  
  <p>Doing some research it seems that I configured MySQL access too late, so I should restart the server in order to get the correct environment variables. Well, I'm using Dreamhost's shared server and I just can't do that.</p>
  
  <p>How should I fix this issue?</p>
  
  <p>Thanks</p>