title: php.ini - command line PHP and WAMP server access different files
body: <p>I don't know if this is default behavior or not, but it seems weird to me.</p>
  
  <p>I installed WAMP server v2.2e from scratch, with PHP 5.4.3, on a windows 7 machine. I get these minor bugs that i don't really care about (when I activate an extension I sometimes need to exit WAMP and start it again to see the changes),</p>
  
  <p>but that's not why I'm here.</p>
  
  <p>When I click on the WAMP icon -> PHP -> php.ini, the file I open is the one in the apache directory (<code>&lt;WAMP dir&gt;\apache\apache2.4.2\bin\php.ini</code>)</p>
  
  <p>The output from the windows cmd command <code>php -i | find /i "Configuration File"</code> outputs <code>&lt;WAMP dir&gt;bin\php\php5.4.3\php.ini</code></p>
  
  <p>Is this desired behavior?</p>
  
  <p><br/></p>
  
  <p>What I'm actually trying to do is install phpdoc, and the output I get after opening (with my browser, not with the command line PHP) <code>localhost/phpDocumentor/installer.php</code> has these lines:</p>
  
  <pre><code>...
  ...
  Problem 2
  - Installation request for phpdocumentor/template-checkstyle 1.0.1 -&gt; 
  satisfiable by phpdocumentor/template-checkstyle 1.0.1.
  - phpdocumentor/template-checkstyle 1.0.1 requires ext-xsl * -&gt; 
  the requested PHP extension xsl is missing from your system.
  Problem 3
  - Installation request for phpdocumentor/template-new-black 1.0.4 -&gt; 
  satisfiable by phpdocumentor/template-new-black 1.0.4.
  - phpdocumentor/template-new-black 1.0.4 requires ext-xsl * -&gt; 
  the requested PHP extension xsl is missing from your system.
  Problem 4
  ...
  ...
  </code></pre>
  
  <p>... you get the idea.</p>
  
  <p>The php.ini file WAMP uses has:</p>
  
  <p><code>extension=php_xsl.dll</code></p>
  
  <p>And the php.ini the command-line php uses has:</p>
  
  <p><code>;extension=php_xsl.dll</code></p>
  
  <p>I could just uncomment the extension in the other .ini file but that won't solve the problem.</p>
  
  <p><br/></p>
  
  <p>Any ideas?</p>