title: Run two different PHP programs at the same time
body: <p>Good afternoon!</p>
  
  <p>I'm currently working on a small project. I try to make a simple REST api in PHP to control music. The idea is that a call to the api executes a server command with the <code>exec</code> function of PHP.
  This is already working :)</p>
  
  <p>What I like to do know is to play multiple files after each other, like a playlist. My idea is two different programs.
  One program that manage a queue with files that must be played and a program that plays the first item in the queue, than the second, etc.
  While the song is playing the queue should be modified.</p>
  
  <p>So may question is: is this even possible? I there a way to run these programs at the same time? Or is my way of thinking way to complex and is there a much better and simpler solution?</p>
  
  <p>Thanks for thinking along with me :)<br />
  Niels</p>