How to compile PHP with new OpenSSL library

后端 未结 3 1149
梦毁少年i
梦毁少年i 2021-01-21 19:20

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

3条回答
  •  星月不相逢
    2021-01-21 19:24

    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.

提交回复
热议问题