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 
<[email protected]> 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

Reply via email to