title: allow php files to write to locations other than those owned by www-data
body: <p>I am able to write content from a php file opened in the browser to a certain location <code>/var/www/data</code> which I configured as follows</p>
  
  <pre><code>cd /var/www/
  sudo mkdir data
  sudo chown www-data:www-data data
  sudo chmod 755 data
  </code></pre>
  
  <p>However, is it possible to write similar data to another location like <code>/var/www/html/MyProjectRootFolder</code> which is not owned by www-data ?</p>