title: PHP.ini Default Dir Extensions
body: <p>I have my php.ini as follows:</p>
  
  <pre><code>; Directory in which the loadable extensions (modules) reside.
  ; http://php.net/extension-dir
  ; extension_dir = "./"
  ; On windows:
  extension_dir = "C:\Program Files (x86)\PHP\ext"
  </code></pre>
  
  <p>I will distribuite my php application but I was wondering that not all users have their Windows OS on the default C:\, suppose they use another letter like Y:.</p>
  
  <p>How could I change "automatically" to the correct path. Like:</p>
  
  <pre><code>; Directory in which the loadable extensions (modules) reside.
  ; http://php.net/extension-dir
  ; extension_dir = "./"
  ; On windows:
  extension_dir = "Y:\Program Files (x86)\PHP\ext"
  </code></pre>
  
  <p>I can't go to every computer and change the default settings. So is there a way to do this by not changing it directly?</p>