title: Mkdir do not create folder and no Errors shown. (PHP)
body: <p>I need some help with mkdir in my .php file. It's not creating the directory.</p>
  
  <p>I'm currently running Centos 6.6 web server, I have all folders chmod 755 and owner = Apache.</p>
  
  <p>My code is as follows:</p>
  
  <pre><code>&lt;?php $chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
     $rand_dir_name = substr(str_shuffle($chars), 0, 15);
     mkdir("../userdata/profile_pics/".$rand_dir_name);
  ?&gt;
  </code></pre>
  
  <p>No error messages are shown and I'm 100% sure that the path /userdata/profile_pics exists.</p>
  
  <p>Any help?</p>