title: How to pass query string parameters to the PHP binary?
body: <p>I am developing a webserver that invokes the PHP binary (via CGI) to process a script.</p>
  
  <p>Here's the problem:</p>
  
  <p>The PHP script isn't picking up the command line parameters. For example, if the client requests <code>path/to/file.php?test=value</code>, the <code>$_GET</code> array is empty.</p>
  
  <p>I have tried passing the parameters in an environment variable (<code>QUERY_STRING</code>), but they still don't show up.</p>
  
  <p>How can I pass query string parameters to a PHP application?</p>