how enable curl's AsynchDNS?

2019-01-26 17:12发布

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

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.

标签: php curl c-ares
1条回答
别忘想泡老子
2楼-- · 2019-01-26 17:28

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.

查看更多
登录 后发表回答