简体   繁体   English

如何启用curl的AsynchDNS?

[英]how enable curl's AsynchDNS?

I want enable curl's AsynchDNS ( find in phpinfo() ) . 我想启用curl的AsynchDNS(在phpinfo()中找到)。 What do i must do ? 我该怎么办? This is screenshot : 这是截图: 在此输入图像描述

I found out install http://c-ares.haxx.se/ 我发现安装http://c-ares.haxx.se/

c-ares is a C library that performs DNS requests and name resolves asynchronously

http://curl.haxx.se/dev/readme-ares.html But i still stuck at how install on curl exist. http://curl.haxx.se/dev/readme-ares.html但我仍然坚持如何在curl上安装。

libcurl needs to have been compiled and built for it. libcurl需要为它编译和构建。 For Linux and other *nix systems, you can build with c-ares or the threaded-resolver to make it use asynchronous resolves. 对于Linux和其他* nix系统,您可以使用c-ares或线程解析器进行构建,以使其使用异步解析。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM