phpinfo and php -v show different version on mountain lion
<p>I am trying to upgrade my php from 5.3.15 to 5.4.8 on Mac OSX 10.8.2.   I've manually downloaded the source code of php 5.4.8 and executed:</p>

<pre><code>./configure --prefix=/usr/local
make
sudo make install
</code></pre>

<p>I also added <code>export PATH=/usr/local/bin:$PATH</code> to my <code>/etc/profile</code> file.</p>

<p>After that, <code>php -v</code> shows 5.4.8, while <code>&lt;?php phpinfo(); ?&gt;</code> still shows 5.3.15.</p>

<p>Any ideas on how to get <code>&lt;?php phpinfo(); ?&gt;</code> to point to the newly installed php version?</p>
