PHP doesn't use the updated OpenSSL on Mac OS X
<p>I'm trying to install composer.phar for a symfony session, but when I do so I have a warning message telling me that I need to update my openssl from 0.9.8 to 1.0.1 or above.</p>

<p>I did it, and I end up with </p>

<p><code>openssl version</code> returning <code>OpenSSL 1.0.2f  28 Jan 2016</code></p>

<p>and</p>

<p><code>which openssl</code> returning <code>/usr/local/bin/openssl</code></p>

<p>However I still have the same warning message. </p>

<p>It looks like php still using the <code>/usr/bin/openssl</code> instead of <code>/usr/local/bin/openssl</code></p>

<p>Any clue on how to make php use the <code>/usr/local/bin/openssl</code> instead of <code>/usr/bin/openssl</code>?</p>

<p>Thanks in advance</p>