Bug #53578 [Opn]: php_curl init time (3 big seconds)
| From: | pajoye@php.net | Date: | Mon, 20 Dec 2010 11:57:04 +0000 |
| Subject: | Bug #53578 [Opn]: php_curl init time (3 big seconds) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-157122@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53578&edit=1
ID: 53578
Updated by: pajoye@php.net
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:
I will update teh VC6 builds later tonight.
However I would recommend to use the VC9 versions instead, VC9 builds of
Apache can be found at http://apachelounge.com
Previous Comments:
------------------------------------------------------------------------
[2010-12-20 11:34:01] tanguy dot pruvot at gmail dot com
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
------------------------------------------------------------------------
[2010-12-20 11:14:38] pajoye@php.net
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] pajoye@php.net
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
------------------------------------------------------------------------
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