title: How do I run PHP's built-in web server in the background?
body: <p>I've written a PHP CLI script that executes on a Continuous Integration environment. One of the things it does is it runs Protractor tests.</p>
  
  <p>My plan was to get the built-in <a href="http://php.net/manual/en/features.commandline.webserver.php" rel="noreferrer" title="PHP 5.4&#39;s built-in web server">PHP 5.4's built-in web server</a> to run in the background:</p>
  
  <pre><code>php -S localhost:9000 -t foo/ bar.php &amp;
  </code></pre>
  
  <p>And then run protractor tests that will use <code>localhost:9000</code>:</p>
  
  <pre><code>protractor ./test/protractor.config.js
  </code></pre>
  
  <p>However, PHP's built-in web server doesn't run as a background service. I can't seem to find anything that will allow me to do this with PHP.</p>
  
  <p>Can this be done? If so, how?
  If this is absolutely impossible, I'm open to alternative solutions.</p>