title: WAMPserver, two php.ini files
body: <p>I was looking for a way to change the max file size in phpmyadmin (mysql imports). I solved it <strong>after discovering there were two php.ini files</strong>: one is located at C:\wamp\bin\apache\Apache2.4.4\bin considering the default install path, while the other one is at C:\wamp\bin\php\php5.4.16.  </p>
  
  <p>The funny aspect here is that, when I want to change variables, I should pay attention to the apache/-located php.ini file, instead of the php/-located one.  </p>
  
  <p>And here comes my question: <strong>why</strong>? Why are there two php.ini files instead of one? I must even look at both files, depending on what do I need to change (and I'm NEVER sure what file should I look, but by trial and error). What's the purpose, and when should I look either file?</p>