cURL Mailing List Monthly Index Single Mail
curl-and-php mailing list Archives
pseudo-multithreads under windows
From: nkli <nkli_at_yandex.ru>
Date: Mon, 13 Mar 2006 16:13:31 +0300 (MSK)
My system is win XP SP2 and I have PHP 4.3.11 Apache 1.3.33 and cURL extention installed.
I have two scripts, say
$cmd='start /b c:/php/php.exe z:/home/multi/www/thread.php > z:/home/multi/www/[log]';
$cmd=str_replace("[log]", $log, $cmd);
Together they allow me to start several processes in parallel, system() and exec() did not work for me under win environment
but this trick does not work with curl:
phpinfo() shows curl module in main script and no curl in the secondary, th.php script.
How can one get it running?
[quote]Warning: dl(): Not supported in multithreaded Web servers - use extension statements in your php.ini in z:\home\multi\www\tmp.php on line 33 [/quote]
Looks like dl() cannot be used under windows, in contrast to what is written in PHP manual. (Check also http://bugs.php.net/bug.php?id=30152).
These mail archives are generated by hypermail.
Page updated November 12, 2010.
web site info