How to compile PHP with new OpenSSL library

后端 未结 3 1150
梦毁少年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:38

    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.

提交回复
热议问题