title: ErrorException in Filesystem.php
body: <p><strong>Issue with session storage</strong> </p>
  
  <p>Session storage not working with my Laravel 5. Used it for a month without problems. But since latest upload to web server I get the following response on every page.</p>
  
  <pre><code>ErrorException in Filesystem.php line 74:
  file_put_contents(): Exclusive locks are not supported for this stream
  </code></pre>
  
  <p>Many posts on the internet are indicating to remove the reference to </p>
  
  <pre><code>$lock on line 74 in Filesystem.php
  </code></pre>
  
  <p>Seems like a quick fix which will lead to other issues down the road... </p>
  
  <p><strong>How do I take care of the root cause?</strong></p>
  
  <p><strong>References</strong></p>
  
  <p><a href="https://stackoverflow.com/questions/29023948/laravel-5-file-put-contents-exclusive-locks-are-not-supported-for-this-stre">https://stackoverflow.com/questions/29023948/laravel-5-file-put-contents-exclusive-locks-are-not-supported-for-this-stre</a>
  <a href="https://laracasts.com/discuss/channels/general-discussion/l5-new-install-error" rel="noreferrer">https://laracasts.com/discuss/channels/general-discussion/l5-new-install-error</a></p>