I am trying to compile PHP with OpenSSL. That works with the default OpenSSL library 0.9.6 by simply configuring with --with-openssl=/usr
.
However, I have i
For those using MacPorts adding ssl is super simple:
$ sudo port install php71-openssl
That's it. Ports will recompile php (version 7.1 in this case) with openssl for you.
fixed it by recompiling curl as the compiled version of curl was also using the old openssl lib
sudo ./configure -disable-shared -with-ssl=/usr/local/ssl
After compiling curl, also compiled php again --with-openssl=/usr and phpinfo tells me it is using the new openssl lib.
I had the same problem, but before compiling (./configure -disable-shared -with-ssl=/usr/local/ssl
) I removed (yum openssl-devel
) and it worked