curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: ubuntu 16.04.3 apache2 php5.6-curl not support ssl but curl-config --feature say support

From: Arthur Tam <arthur.tam_at_mooee.com>
Date: Thu, 26 Oct 2017 16:38:26 +0800

Thanks for your advice. What I did:

> dpkg -i libssl1.0.0_1.0.2g-1ubuntu4.8_amd64.deb

> apt-get install -f

where the deb download from ubuntu site

no help, same problem

Rgds,
Arthur
On 26/10/2017 3:01 PM, Alibek Joraev wrote:


I don't know whether PHP is using libcurl as HTTP stack (I can guess it does not use).
in any case, since you are interested in HTTPS, I can suggest that you also re-install libssl (as it is SSL library which is used by Curl to perform HTTPS requests).  so far you mentioned curl, apache and php....




On Thursday, 26 October 2017, 02:24:44 GMT+1, Arthur Tam <arthur.tam@mooee.com> wrote:


You are right, as the server is not installed by me. So I don't know why there is an installation goes to /usr/local/bin/curl and that is the version cause the problem. Before I upgrade ubuntu, I guess /usr/local/bin/curl already there. After upgrade Ubuntu, I know there is a work copy in /usr/bin/curl. That's why I said in my first email:

"I make "ln -s /usr/bin/curl /usr/local/bin/curl" and I can run curl to access https in shell, however, phpinfo said curl not support https and so I can't access https using curl in php"

Is php calling libcurl in doing curl operations? If so, why it still not support https in php even I reinstall curl, libcurl, apache, php ?

Rgds,
Arthur
On 25/10/2017 3:30 PM, Daniel Stenberg wrote:
On Mon, 23 Oct 2017, Arthur Tam wrote:

after I upgrade ubuntu to 16.04.3, I type "which curl" in shell and I found it is
running /usr/local/bin/curl but not /usr/bin/curl

I think you're confusing matters. Ubuntu doesn't install things in /usr/local, those are custom installed by you. The curl version is not put there by the Ubuntu installer.


-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-10-26