I upgraded openssl from version 0.9.8zc to OpenSSL 1.0.2 version. I used this web page How to upgrade OpenSSL in OS X? to do this. The next step I upgraded php to 5.6 version from this web page http://php-osx.liip.ch . When I checked openssl version in terminal it was correct version 1.0.2 but phpinfo() always shows old 0.9.8zc openssl version . What is wrong? Is in my mac installed new version but apache uses old version? How can I change it?