title: how to add ftp users to an apache from PHP?
body: <p>how do i go about adding ftp users to an apache web server? i need the user to register from normal web/script and then have an FTP account set up for them automatically.</p>
  
  <p>I have seen the cPanel API, and it is pretty decent, but since cPanel costs money, i don't wish to use it for this project. I'm also reluctant to use any other lisenced piece of software.</p>
  
  <p>i want to be able to do it using shell/batch (or pure PHP, though that hardly seem plausible)</p>