|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2010-12-20 00:53 UTC] tanguy dot pruvot at gmail dot com
Description: ------------ I reopen this issue because all others (since 2 years) have been closed without resolution... "php -m" with php_curl : 3 seconds on a SSD disk "php -m" without curl : instant output Please read the previous answers, seems related to libeay32 RAND function ... http://bugs.php.net/bug.php?id=50410 #50410 Test script: --------------- php -m Expected result: ---------------- 0 seconds Actual result: -------------- 3 seconds PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 00:00:02 2025 UTC |
Please comment this line to fix the problem : php-5.3.4\ext\openssl\openssl.c PHP_FUNCTION(openssl_random_pseudo_bytes) line 4898 : #ifdef WINDOWS RAND_screen(); #endifIt is also possible to fix that in extension code, in interface.c by replacing CURL_GLOBAL_SSL by CURL_GLOBAL_WIN32... if (curl_global_init(CURL_GLOBAL_WIN32) != CURLE_OK) { return FAILURE; } Related messages : http://osdir.com/ml/web.curl.general/2004-05/msg00068.html http://curl.haxx.se/mail/lib-2004-06/0133.html