Re: [INTERNALS-WIN] No IDN and IPv6 support in cURL?
| From: | Pierre Joye | Date: | Wed, 17 Apr 2013 04:02:41 +0000 |
| Subject: | Re: [INTERNALS-WIN] No IDN and IPv6 support in cURL? | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals.win |
| Request: | Send a blank email to internals-win+get-980@lists.php.net to get a copy of this message | ||
hi Jan,
On Tue, Apr 16, 2013 at 11:04 PM, Jan Ehrhardt <phpdev@ehrhardt.nl> wrote:
> Pierre Joye in php.internals.win (Tue, 16 Apr 2013 22:29:14 +0200):
>>Libcurl has to be built to enable IDN conversion. @a did you enable the IDN?
>>
>>See
>>https://github.com/bagder/curl/blob/master/winbuild/BUILD.WINDOWS.txt
>
> I have always built my own PHP (5.3, 5.4, 5.5) on Win7 after building
> libcurl_a.lib with this command in curl-src\winbuild:
>
> nmake /f makefile.vc mode=static VC=11 MACHINE=x86
> WITH_DEVEL=/php-sdk/deps USE_IDN=yes WITH_SSL=static
> WITH_SSH2=static ENABLE_WINSSL=no WITH_ZLIB=static
>
> s/VC11/VC9/ for 5.3 & 5.4.
>
> Then somebody told me php_curl.dll was broken on WinXP because of the
> missing normaliz.dll:
> http://www.apachelounge.com/viewtopic.php?t=5273
>
> I do not use it myself with IDN-domains, but have never experienced any
> problems with my home-grown php_curl.dll.
It is not broken but not present. Windows XP (and 2003) users have to
install it manually. It can be done using:
http://www.microsoft.com/en-us/download/details.aspx?id=734
> I suppose error checking is done by libcurl and normaliz.dll, so
> additional code for error checking seems a bit overdone. Testing does
> not harm anybody, but I do not have a use-case at hand.
The compilation works fine as these DLLs and their respective
headers/libs are part of the SDK.
Cheers.
--
Pierre
@pierrejoye