title: lumen: [ErrorException] chdir(): No such file or directory (errno 2)
body: <p><strong>UPDATED:</strong></p>
  
  <p>I transfer the contents of the <code>public</code> folder to the root and transferred the contents of <code>root</code> folder to the <code>lara</code> folder like this:</p>
  
  <p><a href="https://i.stack.imgur.com/tlPsh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tlPsh.png" alt="enter image description here"></a></p>
  
  <p>When i run:</p>
  
  <pre><code>php artisan serve
  </code></pre>
  
  <p>this error comming:</p>
  
  <blockquote>
    <p>[ErrorException]<br>
      chdir(): No such file or directory (errno 2)</p>
  </blockquote>
  
  <p><strong>What have I done?</strong></p>
  
  <p>I try these solutions <a href="https://stackoverflow.com/a/35047783/9422637">[1]</a>, <a href="https://stackoverflow.com/a/28698381/9422637">[2]</a> but no solution found.</p>
  
  <p>I use from this server: </p>
  
  <blockquote>
    <p>PHP 7.2.15-1+ubuntu16.04.1+deb.sury.org+1</p>
  </blockquote>
  
  <p>Also I use from <code>Lumen</code> instead of <code>Laravel</code>.</p>
  
  <p><em>Thanks for sharing your knowledge</em></p>