PHP does not use updated OpenSSL for Mac OS X

I am trying to install composer.phar for a symfony session, but when I do this, I have a warning message stating that I need to update my openssl from 0.9.8 to 1.0.1 or higher.

I did it and I ended up with

openssl version return OpenSSL 1.0.2f 28 Jan 2016

and

which openssl return /usr/local/bin/openssl

However, I still have one warning.

It looks like php is still using /usr/bin/opensslinstead/usr/local/bin/openssl

Any clue on how to get php to use /usr/local/bin/opensslinstead /usr/bin/openssl?

Thank you in advance

+4
source share
1 answer

You will need to compile PHP with the parameter "--with-openssl [= DIR]", specifying the desired directory.

, .

+1

Source: https://habr.com/ru/post/1628307/


All Articles