title: How to make PHP create Directories and Sub-Directories and be able to Write to them?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4936852/how-do-i-configure-php-to-have-permission-to-create-directories-and-make-files">How do I configure PHP to have permission to create directories and make files?</a>  </p>
  </blockquote>
  
  
  
  <p>How can I make PHP create Directories and Sub-Directories and be able to Write to them?</p>
  
  <p>My host is telling me that I will need to install suPHP to be able to do that but I would rather not install a Mod on a live site, especially for something that sounds so simple (creating dirs and writing to them).</p>
  
  <p>Basically, I need PHP to be able to create directories and sub-directories within a folder in my web root and then be able to write to those directories and sub-directories.</p>
  
  <p>Also, mkdir() is not working.</p>
  
  <p>Thanks.</p>