title: Fork shell script (not &)
body: <p>I'm accessing a webserver via PHP. I want to update some info in the Apache configs, so I start a shell script that makes the changes. Then I want to stop and restart Apache.</p>
  
  <p>Problem: as soon as I stop Apache, my process stops and my shell script, being a child process, is killed. Apache never restarts. This also happens with Apache restart.</p>
  
  <p>Is there a way to fork an independent, non-child process for the shell script, so I can restart Apache?</p>
  
  <p>Thx,
  Mr B</p>