From:  phpdev@ehrhardt.nl (Jan Ehrhardt)
Date:  28 Jul 2014 03:25:32 Hong Kong Time
Newsgroup:  news.php.net/php.internals.win
Subject:  

Re: [INTERNALS-WIN] Libcurl 7.37.1 fails sometimes

NNTP-Posting-Host:  null

Jan Ehrhardt in php.internals.win (Sun, 27 Jul 2014 18:56:55 +0200):
>Pierre Joye in php.internals.win (Sun, 27 Jul 2014 18:36:09 +0200):
>>> https://sourceforge.net/p/curl/bugs/1401/
>[snip]
>>is it reproduce-able using only curl.exe? it may be easier to debug.

On my laptop:

C:\>curl --version
curl 7.37.1 (i386-pc-win32) libcurl/7.37.1 OpenSSL/1.0.1h zlib/1.2.8
WinIDN libssh2/1.4.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3
pop3s rtsp scp sftp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM SPNEGO SSL
SSPI libz

On my production server:

C:\phpdev\php55bad.x32>curl --version
Auto configuration failed
6960:error:0E065068:configuration file routines:STR_COPY:variable has no
value:.\crypto\conf\conf_def.c:618:line 37

I have added curl.exe and bin/lib/include to
http://elijst.nl/php55bad.x32.zip

Anatol: if you are reading this and have the time: could you compile a
php_curl.dll with libcurl 7.37.1 and put it somewhere on
windows.php.net?

My configure line is:
nmake /f makefile.vc mode=static VC=VC11 MACHINE=x86 WITH_DEVEL=[path]
	USE_IDN=yes WITH_SSL=static WITH_SSH2=static ENABLE_WINSSL=no
	WITH_ZLIB=static

There are some differences with your commandline (cf winlibs), but a
curl-dll.exe that is built with your options has the same effect:

C:\phpdev\php55bad.x32>curl-dll
Auto configuration failed
2876:error:0E065068:configuration file routines:STR_COPY:variable has no
value:.\crypto\conf\conf_def.c:618:line 37

Jan