如何启用curl的AsynchDNS?
我想启用curl的AsynchDNS(在phpinfo()中找到)。我必须做什么? 这是截图:
我发现安装 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 但我仍然坚持在curl上安装如何存在。
I want enable curl's AsynchDNS ( find in phpinfo() ) . What do i must do ?
This is screenshot :
I found out install 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
需要为其编译和构建 libcurl。对于 Linux 和其他 *nix 系统,您可以使用 c-ares 或 threaded-resolver 进行构建,以使其使用异步解析。
libcurl needs to have been compiled and built for it. For Linux and other *nix systems, you can build with c-ares or the threaded-resolver to make it use asynchronous resolves.