Edit report at http://bugs.php.net/bug.php?id=53578&edit=1
ID: 53578 User updated by: tanguy dot pruvot at gmail dot com Reported by: tanguy dot pruvot at gmail dot com Summary: php_curl init time (3 big seconds) Status: Open Type: Bug Package: cURL related Operating System: Win7/Vista x86 PHP Version: 5.3.4 (Since 5.2.14/5.3) Block user comment: N Private report: N New Comment: Thanks for these precisions. But i use VC6 to use same apache DLLs (on a vista virtual machine to use the "recent" Win32 SDK) Do you know where we can find the fixed lib for VC6 x86 ? I ve used the 7.21.0 available here but i think its the old one : http://pecl2.php.net/downloads/php-windows-builds/php-libs/VC6/x86/ Also, and i dunno why but phpinfo() curl block says libcurl 7.20 instead of 7.21 I need it to fix the problem on my Wamp package EWS (detected one year ago to check version informations) http://ews.wdscript.fr Previous Comments: ------------------------------------------------------------------------ [2010-12-20 11:14:38] [email protected] btw, I just applied this change to my tree as well: https://github.com/pierrejoye/curl nmake /f Makefile.vc9 WINDOWS_SSPI=1 USE_IPV6=1 WITH_DEVEL=g:\php-sdk\lib_builds\vc9\x86\deps CFG=release-ssh2-ssl-dll-zlib to build it for PHP's VC9 (with almost all protocols, incl. ssh2). As long as you copied the dependencies in ..\deps (like for php's builds). ------------------------------------------------------------------------ [2010-12-20 10:42:34] [email protected] As I said, the libcurl previous release (for our build only) has been modified to do not call this function anymore. The latest libcurl release should have the fix too. ------------------------------------------------------------------------ [2010-12-20 10:12:20] tanguy dot pruvot at gmail dot com Just to confirm : I tried all 5.3.4 and 5.2.16 versions (TS/NTS VC6/VC9), even a self compiled one from sources and the problem always appears on Vista and Seven x86 I posted a bug report to curl team... but i cant find RAND_screen() call in their lastest release... ------------------------------------------------------------------------ [2010-12-20 07:43:47] tanguy dot pruvot at gmail dot com Ok, hmm after a night of debug, i think the code is in the static libcurl_a.lib i've tried to build a module with standard libcurl dlls (php_curl of 64k).... but seems to have a bad address for the curl_global_init() call I think we need to follow this issue to curl team :p ------------------------------------------------------------------------ [2010-12-20 04:03:25] tanguy dot pruvot at gmail dot com If you want to try the difference, here is the patched php_curl dll. http://tanguy.wdscript.fr/files/php_curl.534vc6ts.Patched.zip I'm now compiling php with openssl comment... to check if its the cause of the problem... i dont understand why this code is in php_curl dll code... ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/bug.php?id=53578 -- Edit this bug report at http://bugs.php.net/bug.php?id=53578&edit=1
