如何启用curl的AsynchDNS? [英] how enable curl's AsynchDNS?

查看:1611
本文介绍了如何启用curl的AsynchDNS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想启用curl的AsynchDNS(在phpinfo()中找到)。我必须做什么?
这是屏幕截图:

I want enable curl's AsynchDNS ( find in phpinfo() ) . What do i must do ? This is screenshot :

我找到了安装 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上的安装存在。

http://curl.haxx.se/dev/readme-ares.html But i still stuck at how install on curl exist.

推荐答案

libcurl需要为它编译和构建。对于Linux和其他* nix系统,您可以使用c-ares或线程解析器来构建,以使其使用异步解析。

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.

这篇关于如何启用curl的AsynchDNS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆