title: create directory in parent root with php in laravel
body: <p>my site is in <code>/var/www/mysite</code> directory .i use laravel and want to create directory in <code>/uploads</code> directory .so /uploads is besides of /var .</p>
  
  <pre><code>/var/www/mysite
  /uploads
  </code></pre>
  
  <p>i set <code>0777</code> permission for <code>/uploads</code> but permission denied happened.
  I try with this code </p>
  
  <pre><code>&lt;?php mkdir('/uploads', 0777 , true) ; ?&gt;
  </code></pre>