title: How to determine which php apache uses?
body: <p>My phpinfo.php on apache shows</p>
  
  <pre><code>PHP Version 5.4.15
  </code></pre>
  
  <p>but commandline </p>
  
  <pre><code>php - v
  </code></pre>
  
  <p>shows</p>
  
  <pre><code>PHP 5.4.17 (cli) (built: Aug 25 2013 02:03:38) 
  </code></pre>
  
  <p>I think apache and commandline reaches the different php,however</p>
  
  <pre><code>which php
  </code></pre>
  
  <p>shows only </p>
  
  <pre><code>/usr/bin/php
  </code></pre>
  
  <p>it is 5.4.17</p>
  
  <p>I would like to know where php apache uses, and how can I check which php apache uses?</p>