Edit report at http://bugs.php.net/bug.php?id=53578&edit=1

 ID:                 53578
 Comment 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:             Closed
 Type:               Bug
 Package:            cURL related
 Operating System:   Win7/Vista x86
 PHP Version:        5.3.5 (Since 5.2.14/5.3)
 Assigned To:        pajoye
 Block user comment: N
 Private report:     N

 New Comment:

Here is the call stack on PHP 5.3.6 VC9 :



008BF5E8   1004903E  RETURN to libeay32.OpenSSL_add_all_digests+13E from


libeay32.EVP_add_digest

008BF5EC   6D553C3A  RETURN to MSVCR90.6D553C3A from MSVCR90.6D55CF25

008BF5F0   D1F10C83

008BF5F4   02079948

008BF5F8   1003FE95  RETURN to libeay32.1003FE95 from
libeay32.RAND_poll

008BF5FC   6724EFA9  RETURN to php_curl.6724EFA9 from
php_curl._RAND_screen

008BF600   67237DEB  RETURN to php_curl.67237DEB from
php_curl._Curl_ssl_init

008BF604   5D660FB0  php5ts.tsrm_mutex_alloc

008BF608   67235D71  RETURN to php_curl.67235D71 from
php_curl._curl_global_init

008BF60C   00000001

008BF610   5DB76E20  offset php5ts.module_registry

008BF614   02142E90

008BF618   00000000

008BF61C   5D585EB1  RETURN to php5ts.5D585EB1

008BF620   00000001

008BF624   00000020

008BF628   02142E90

008BF62C   5DB76E20  offset php5ts.module_registry

008BF630   02079908

008BF634   00000000

008BF638   02142E90

008BF63C   5D612FBF  RETURN to php5ts.5D612FBF

008BF640   02079948

008BF644   02142E90

008BF648   00000000

008BF64C   02142E90

008BF650   02142E90

008BF654   0000000A

008BF658   5D585FE9  RETURN to php5ts.5D585FE9 from
php5ts.zend_hash_apply

008BF65C   5DB76E20  offset php5ts.module_registry

008BF660   5D585DE0  php5ts.zend_startup_module_ex

008BF664   02142E90

008BF668   5DB76E20  offset php5ts.module_registry

008BF66C   5D585F30  php5ts.zend_sort_modules

008BF670   00000000

008BF674   00000000

008BF678   02142E90

008BF67C   6D55F16A  MSVCR90.getenv

008BF680   5D64314D  RETURN to php5ts.5D64314D from
php5ts.zend_startup_modules



A solution could be to prevent SSL initialization on module load, and
only do it 

on first SSL request...


Previous Comments:
------------------------------------------------------------------------
[2011-04-14 14:37:12] paj...@php.net

CRT has nothing to do with win2000 compatibility, which was killed
anyway with the 

release of 5.3.0.



It is nice and shiny to say than VC10 is better, but it was not ready
last year in 

April.

------------------------------------------------------------------------
[2011-04-14 14:32:00] tanguy dot pruvot at gmail dot com

Also, its possible to use VC9 to compile with MSCVRT, i had made that
for other 

projects. Borland C++ also compiles with MSCVRT.



But we loose Windows 2000 compatibility, working with XP yo Seven.



Windows DDK is required to do that..



but to my mind, i think VC10 is a better solution than VC9

------------------------------------------------------------------------
[2011-04-14 14:16:00] paj...@php.net

No, it is not. Please read the releases notes and the left column on 

windows.php.net.



We only stop to support VC6.



About the library, it is fixed, both in curl's release and php.

------------------------------------------------------------------------
[2011-04-14 14:13:41] tanguy dot pruvot at gmail dot com

The problem is not related to VC6 or VC9 version... but to the .lib used
to 

compile PHP and/or extension.



So Apache's PHP handler is discontinued too ?

------------------------------------------------------------------------
[2011-04-14 00:47:31] paj...@php.net

VC6 support is discontinued. So please try 5.3.6 only which is VC9.

------------------------------------------------------------------------


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

Reply via email to