how enable curl's AsynchDNS?

早过忘川 提交于 2019-11-28 04:34:11

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/6012617/how-enable-curls-asynchdns

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!