Search code examples
phpcurlwampidn

How to enable IDN support in PHP (cURL)?


My cURL configuration (fro phpinfo() function) is:

    cURL support    enabled
    cURL Information    7.21.7
    Age 3
    Features
    AsynchDNS   Yes
    Debug   No
    GSS-Negotiate   Yes
    IDN No
    IPv6    Yes
    Largefile   Yes
    NTLM    Yes
    SPNEGO  No
    SSL Yes
    SSPI    Yes
    krb4    No
    libz    Yes
    CharConv    No
    Protocols   dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, pop3, pop3s, rtsp, scp, sftp, smtp, smtps, telnet, tftp
    Host    i386-pc-win32
    SSL Version OpenSSL/0.9.8r
    ZLib Version    1.2.5
    libSSH Version  libssh2/1.2.7

IDN has as value No. Can I enable it? How?

Thanks!


Solution

  • I solve my problem with the library http://phlymail.com/en/downloads/idna/