title: Best/easiest way to parse configuration parameters in Sh/Bash and php
body: <p>I got in every php project (around 25!), some sh scripts that help me with routine tasks such as deployment, repo syncronizing, databases exporting/export, etc.</p>
  
  <p>The sh scripts are the same for all the projects I manage, so there must be a configuration file to store diferent parameters that depend on the project:</p>
  
  <pre><code># example conf, the sintaxys only needs to be able to have comments and be easy to edit.
  host=www.host.com
  administrator_email=guill@company.com
  password=xxx
  </code></pre>
  
  <p>I just need to find a clean way in which this configuration file can be read (parsed) from a sh script, and at the same time, be able to read those same parameters from my PHP scripts. Without having to use XML.</p>
  
  <p>Do you know a good solution for this?</p>
  
  <p>Guillermo</p>